Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
   1 PSETRUN(3PROC)         Process Control Library Functions        PSETRUN(3PROC)
   2 
   3 NAME
   4      Psetrun, Lsetrun - run a stopped process or thread
   5 
   6 SYNOPSIS
   7      Process Control Library (libproc, -lproc)


   8      #include <libproc.h>
   9 
  10      int
  11      Psetrun(struct ps_prochandle *P, int sig, int flags);
  12 
  13      int
  14      Lsetrun(struct ps_lwphandle *L, int sig, int flags);
  15 
  16 DESCRIPTION
  17      The Psetrun() function resumes the stopped process handle P and
  18      transitions the process to running.  If sig is non-zero, then the
  19      Psetrun() function causes the signal to be delivered.  See
  20      signal.h(3HEAD) for a list of valid signal identifiers.
  21 
  22      The flags member modifies the behavior of the resumed handle.  The
  23      following values may be combined by a bitwise-inclusive-OR:
  24 
  25            PRCSIG        Clears the current signal, if any.
  26 
  27            PRCFAULT      Clears the current fault, if any.


   1 PSETRUN(3PROC)         Process Control Library Functions        PSETRUN(3PROC)
   2 
   3 NAME
   4      Psetrun, Lsetrun - run a stopped process or thread
   5 
   6 LIBRARY
   7      Process Control Library (libproc, -lproc)
   8 
   9 SYNOPSIS
  10      #include <libproc.h>
  11 
  12      int
  13      Psetrun(struct ps_prochandle *P, int sig, int flags);
  14 
  15      int
  16      Lsetrun(struct ps_lwphandle *L, int sig, int flags);
  17 
  18 DESCRIPTION
  19      The Psetrun() function resumes the stopped process handle P and
  20      transitions the process to running.  If sig is non-zero, then the
  21      Psetrun() function causes the signal to be delivered.  See
  22      signal.h(3HEAD) for a list of valid signal identifiers.
  23 
  24      The flags member modifies the behavior of the resumed handle.  The
  25      following values may be combined by a bitwise-inclusive-OR:
  26 
  27            PRCSIG        Clears the current signal, if any.
  28 
  29            PRCFAULT      Clears the current fault, if any.