Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
   1 PSETSYSENTRY(3PROC)    Process Control Library Functions   PSETSYSENTRY(3PROC)
   2 
   3 NAME
   4      Psetsysentry, Psetsysexit - set system call tracing flags
   5 
   6 SYNOPSIS
   7      Process Control Library (libproc, -lproc)


   8      #include <libproc.h>
   9 
  10      void
  11      Psetsysentry(struct ps_prochandle *P, const sysset_t *set);
  12 
  13      void
  14      Psetsysexit(struct ps_prochandle *P, const sysset_t *set);
  15 
  16 DESCRIPTION
  17      The Psetsysentry() and Psetsysexit() set the system call entry and exit
  18      tracing flags respectively in the process handle P to set.  The call to
  19      Psetsysentry() or Psetsysexit() replaces the corresponding set of system
  20      call tracing flags entirely with the new set.  The system call entry
  21      tracing flags cause a thread to stop on entry to the system call and the
  22      exit tracing flags cause a thread to stop on return from the system call,
  23      before control returns back to the user land process.  For more
  24      information on the state of the thread and for information on
  25      manipulating the sysset_t, see proc(4).
  26 
  27      Note that only active processes may have their system call tracing flags
   1 PSETSYSENTRY(3PROC)    Process Control Library Functions   PSETSYSENTRY(3PROC)
   2 
   3 NAME
   4      Psetsysentry, Psetsysexit - set system call tracing flags
   5 
   6 LIBRARY
   7      Process Control Library (libproc, -lproc)
   8 
   9 SYNOPSIS
  10      #include <libproc.h>
  11 
  12      void
  13      Psetsysentry(struct ps_prochandle *P, const sysset_t *set);
  14 
  15      void
  16      Psetsysexit(struct ps_prochandle *P, const sysset_t *set);
  17 
  18 DESCRIPTION
  19      The Psetsysentry() and Psetsysexit() set the system call entry and exit
  20      tracing flags respectively in the process handle P to set.  The call to
  21      Psetsysentry() or Psetsysexit() replaces the corresponding set of system
  22      call tracing flags entirely with the new set.  The system call entry
  23      tracing flags cause a thread to stop on entry to the system call and the
  24      exit tracing flags cause a thread to stop on return from the system call,
  25      before control returns back to the user land process.  For more
  26      information on the state of the thread and for information on
  27      manipulating the sysset_t, see proc(4).
  28 
  29      Note that only active processes may have their system call tracing flags