Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
   1 PISPROCIDR(3PROC)      Process Control Library Functions     PISPROCIDR(3PROC)
   2 
   3 NAME
   4      Pisprocdir - determine if a directory is the /proc directory
   5 
   6 SYNOPSIS
   7      Process Control Library (libproc, -lproc)


   8      #include <libproc.h>
   9 
  10      int
  11      Pisprocdir(struct ps_prochandle *P, const char *dir);
  12 
  13 DESECRIPTION
  14      The Pisprocdir() function determines whether or not the directory dir is
  15      the root of the /proc file-system.  This works across loopback file
  16      system (lofs) mounts and chroots.
  17 
  18 RETURN VALUES
  19      Upon successful completion, the Pisprocdir() function returns 1 if dir is
  20      the /proc directory, otherwise if not, it returns 0.
  21 
  22 INTERFACE STABILITY
  23      Uncommitted
  24 
  25 MT-LEVEL
  26      See LOCKING in libproc(3LIB).
  27 
   1 PISPROCIDR(3PROC)      Process Control Library Functions     PISPROCIDR(3PROC)
   2 
   3 NAME
   4      Pisprocdir - determine if a directory is the /proc directory
   5 
   6 LIBRARY
   7      Process Control Library (libproc, -lproc)
   8 
   9 SYNOPSIS
  10      #include <libproc.h>
  11 
  12      int
  13      Pisprocdir(struct ps_prochandle *P, const char *dir);
  14 
  15 DESECRIPTION
  16      The Pisprocdir() function determines whether or not the directory dir is
  17      the root of the /proc file-system.  This works across loopback file
  18      system (lofs) mounts and chroots.
  19 
  20 RETURN VALUES
  21      Upon successful completion, the Pisprocdir() function returns 1 if dir is
  22      the /proc directory, otherwise if not, it returns 0.
  23 
  24 INTERFACE STABILITY
  25      Uncommitted
  26 
  27 MT-LEVEL
  28      See LOCKING in libproc(3LIB).
  29