Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
   1 PSYSENTRY(3PROC)       Process Control Library Functions      PSYSENTRY(3PROC)
   2 
   3 NAME
   4      Psysentry, Psysexit - set system call entry and exit actions
   5 
   6 SYNOPSIS
   7      Process Control Library (libproc, -lproc)


   8      #include <libproc.h>
   9 
  10      int
  11      Psysentry(struct ps_prochandle *P, int which, int stop);
  12 
  13      int
  14      Psysexit(struct ps_prochandle *P, int which, int stop);
  15 
  16 DESCRIPTION
  17      The Psysentry() and Psysexit() functions controls what actions the
  18      process handle P should take upon executing a system call.
  19 
  20      The system allows a process to be stopped on both entry and exit of a
  21      system call.  For information on the state of the process when it is
  22      stopped due to system call tracing, see the PCSENTRY and PCSEXIT sections
  23      of proc(4).
  24 
  25      The value of the stop parameter controls whether or not the system call
  26      listed in which causes the process to stop.  A value of non-zero
  27      indicates the process should stop; a value of 0 indicates it should not.


   1 PSYSENTRY(3PROC)       Process Control Library Functions      PSYSENTRY(3PROC)
   2 
   3 NAME
   4      Psysentry, Psysexit - set system call entry and exit actions
   5 
   6 LIBRARY
   7      Process Control Library (libproc, -lproc)
   8 
   9 SYNOPSIS
  10      #include <libproc.h>
  11 
  12      int
  13      Psysentry(struct ps_prochandle *P, int which, int stop);
  14 
  15      int
  16      Psysexit(struct ps_prochandle *P, int which, int stop);
  17 
  18 DESCRIPTION
  19      The Psysentry() and Psysexit() functions controls what actions the
  20      process handle P should take upon executing a system call.
  21 
  22      The system allows a process to be stopped on both entry and exit of a
  23      system call.  For information on the state of the process when it is
  24      stopped due to system call tracing, see the PCSENTRY and PCSEXIT sections
  25      of proc(4).
  26 
  27      The value of the stop parameter controls whether or not the system call
  28      listed in which causes the process to stop.  A value of non-zero
  29      indicates the process should stop; a value of 0 indicates it should not.