1READPROCTAB(3)             Linux Programmer's Manual            READPROCTAB(3)
2
3
4

NAME

6       readproctab,  freeproctab  - read information for all current processes
7       at once
8

SYNOPSIS

10       #include <proc/readproc.h>
11
12       proc_t** readproctab(int flags, ... );
13       void freeproctab(proc_t **p);
14
15

DESCRIPTION

17       readproctab reads information on all processes  matching  the  criteria
18       from  flags,  allocating  memory for everything as needed. It returns a
19       NULL-terminated list of proc_t pointers. For more  information  on  the
20       arguments of readproctab, see openproc(3).
21
22       freeproctab frees all memory allocated by readproctab.
23
24       The proc_t structure is defined in <proc/readproc.h>, please look there
25       for a definition of all fields.
26
27

SEE ALSO

29       openproc(3), readproc(3), /proc/, /usr/include/proc/readproc.h.
30

REPORTING BUGS

32       Please send bug reports to ⟨procps@freelists.org⟩
33
34
35
36Linux Manpage                    14 July 2014                   READPROCTAB(3)
Impressum