PISPROCIDR(3PROC) | Process Control Library Functions | PISPROCIDR(3PROC) |
Pisprocdir
—
#include <libproc.h>
int
Pisprocdir
(struct ps_prochandle
*P, const char *dir);
Pisprocdir
() function determines whether or not the
directory dir is the root of the /proc file-system. This
works across loopback file system (lofs) mounts and chroots.
Pisprocdir
() function
returns 1 if dir is the /proc
directory, otherwise if not, it returns 0.
August 27, 2019 | illumos |