READPROCTAB(3) - man - phpman

Look up a command

 

Markdown Format | JSON API | MCP Server Tool


READPROCTAB(3)                        Linux Programmer's Manual                       READPROCTAB(3)



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

SYNOPSIS
       #include <proc/readproc.h>

       proc_t** readproctab(int flags, ... );
       void freeproctab(proc_t **p);


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.


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

REPORTING BUGS
       Please send bug reports to ⟨procps AT freelists.org⟩



Linux Manpage                               14 July 2014                              READPROCTAB(3)

Generated by phpMan Author: Che Dong Under GNU General Public License
2026-06-02 07:25 @216.73.216.198 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!