The Schworak Site | Log In | Up One Level

3. Library calls (functions within program libraries)

Enter a Linux command to search for:

READPROCTAB

Section: Linux Programmer's Manual (3)
Updated: 14 July 2014
Index  |  Return to Main Contents
 

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


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
REPORTING BUGS

Return to Main Contents

All content on this site is copyright ©2004-2019 and is not to be reproduced without prior permission.