Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man3proc/Preopen.3proc.man.txt
          +++ new/usr/src/man/man3proc/Preopen.3proc.man.txt
   1    1  PREOPEN(3PROC)         Process Control Library Functions        PREOPEN(3PROC)
   2    2  
   3    3  NAME
   4    4       Preopen - reopen a process
   5    5  
   6      -SYNOPSIS
        6 +LIBRARY
   7    7       Process Control Library (libproc, -lproc)
        8 +
        9 +SYNOPSIS
   8   10       #include <libproc.h>
   9   11  
  10   12       int
  11   13       Preopen(struct ps_prochandle *P);
  12   14  
  13   15  DESCRIPTION
  14   16       The Preopen() function is used to regain control of the process
  15   17       represented by the handle P.  A loss of control is indicated by the
  16   18       Pstatus(3PROC) function returning the value PS_LOST.  This may occur when
  17   19       the controlled process performs an exec(2) of a setuid or setgid binary
↓ open down ↓ 22 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX