logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Description

readproctab  reads  information  on all processes matching the criteria from flags, allocating memory for
       everything as needed. It returns a NULL-terminated list of proc_t pointers. For more information  on  the
       arguments of readproctab, see openproc(3).

       freeproctab frees all memory allocated by readproctab.

       The proc_t structure is defined in <proc/readproc.h>, please look there for a definition of all fields.

Name

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

Reporting Bugs

       Please send bug reports to procps@freelists.org

Linux Manpage                                     14 July 2014                                    READPROCTAB(3)

See Also

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

Synopsis

#include<proc/readproc.h>proc_t**readproctab(intflags,...);voidfreeproctab(proc_t**p);

See Also