Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
   1 PSECFLAGS(3PROC)       Process Control Library Functions      PSECFLAGS(3PROC)
   2 
   3 NAME
   4      Psecflags, Psecflags_free - get and free process security flags
   5 
   6 SYNOPSIS
   7      Process Control Library (libproc, -lproc)


   8      #include <libproc.h>
   9 
  10      int
  11      Psecflags(struct ps_prochandle *P, prsecflags_t **psf);
  12 
  13      void
  14      Psecflags_free(struct ps_prochandle *P, prsecflags_t *psf);
  15 
  16 DESCRIPTION
  17      The Psecflags() function obtains the security flags of the process handle
  18      P.  The security flags structure will be dynamically allocated and a
  19      pointer to it will be placed in psf.  It must be released with a call to
  20      Psecflags_free().  The definition of the prsecflags_t structure is
  21      documented in proc(4).
  22 
  23      The Psecflags_free() function releases the storage in psf that was
  24      allocated as a result of calling Psecflags().
  25 
  26 RETURN VALUES
  27      Upon successful completion, the Psecflags() function returns 0 and psf is
   1 PSECFLAGS(3PROC)       Process Control Library Functions      PSECFLAGS(3PROC)
   2 
   3 NAME
   4      Psecflags, Psecflags_free - get and free process security flags
   5 
   6 LIBRARY
   7      Process Control Library (libproc, -lproc)
   8 
   9 SYNOPSIS
  10      #include <libproc.h>
  11 
  12      int
  13      Psecflags(struct ps_prochandle *P, prsecflags_t **psf);
  14 
  15      void
  16      Psecflags_free(struct ps_prochandle *P, prsecflags_t *psf);
  17 
  18 DESCRIPTION
  19      The Psecflags() function obtains the security flags of the process handle
  20      P.  The security flags structure will be dynamically allocated and a
  21      pointer to it will be placed in psf.  It must be released with a call to
  22      Psecflags_free().  The definition of the prsecflags_t structure is
  23      documented in proc(4).
  24 
  25      The Psecflags_free() function releases the storage in psf that was
  26      allocated as a result of calling Psecflags().
  27 
  28 RETURN VALUES
  29      Upon successful completion, the Psecflags() function returns 0 and psf is