Érico Rolim
e411b8a63d
lib/procutils: add proc_is_procfs helper.
...
Also add missing include in procutils.h for the definition of pid_t.
2020-11-18 14:30:50 -03:00
Karel Zak
0e756daeb6
lslocks: use stuff from lib/procutils
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-11-25 14:17:22 +01:00
Karel Zak
f6c01f4eed
lib/procutils: add proc_get_cmdline()
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-07-20 11:48:09 +02:00
Karel Zak
13377dd64a
lib/procutils: add simple API to scan /proc/PID/*
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-12 17:24:14 +01:00
Davidlohr Bueso
86a84a17d2
procutils: include missing header
...
To be able to use DIR we need to include the dirent.h header. This fixes issues such as:
../include/procutils.h:5: error: syntax error before "DIR"
../include/procutils.h:5: warning: no semicolon at end of struct or union
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
2011-05-05 14:01:39 +02:00
Karel Zak
5b1f031123
lib: [procutils.c]: add missing files. Sorry.
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-05-04 15:52:39 +02:00