Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
   1 PLWP_GETREGS(3PROC)    Process Control Library Functions   PLWP_GETREGS(3PROC)
   2 
   3 NAME
   4      Plwp_getfpregs, Plwp_setfpregs, Plwp_getregs, Plwp_setregs - get and set
   5      thread registers
   6 
   7 SYNOPSIS
   8      Process Control Library (libproc, -lproc)


   9      #include <libproc.h>
  10 
  11      int
  12      Plwp_getfpregs(struct ps_prochandle *P, lwpid_t lwpid,
  13          prfpregset_t *fpregs);
  14 
  15      int
  16      Plwp_setfpregs(struct ps_prochandle *P, lwpid_t lwpid,
  17          const prfpregset_t fpregs);
  18 
  19      int
  20      Plwp_getregs(struct ps_prochandle *P, lwpid_t lwpid, prpregset_t *gregs);
  21 
  22      int
  23      Plwp_setregs(struct ps_prochandle *P, lwpid_t lwpid,
  24          const prpregset_t gregs);
  25 
  26 DESCRIPTION
  27      The Plwp_getregs(), Plwp_setregs(), Plwp_getfpregs(), and
  28      Plwp_setfpregs() functions allow one to get and set the general purpose


   1 PLWP_GETREGS(3PROC)    Process Control Library Functions   PLWP_GETREGS(3PROC)
   2 
   3 NAME
   4      Plwp_getfpregs, Plwp_setfpregs, Plwp_getregs, Plwp_setregs - get and set
   5      thread registers
   6 
   7 LIBRARY
   8      Process Control Library (libproc, -lproc)
   9 
  10 SYNOPSIS
  11      #include <libproc.h>
  12 
  13      int
  14      Plwp_getfpregs(struct ps_prochandle *P, lwpid_t lwpid,
  15          prfpregset_t *fpregs);
  16 
  17      int
  18      Plwp_setfpregs(struct ps_prochandle *P, lwpid_t lwpid,
  19          const prfpregset_t fpregs);
  20 
  21      int
  22      Plwp_getregs(struct ps_prochandle *P, lwpid_t lwpid, prpregset_t *gregs);
  23 
  24      int
  25      Plwp_setregs(struct ps_prochandle *P, lwpid_t lwpid,
  26          const prpregset_t gregs);
  27 
  28 DESCRIPTION
  29      The Plwp_getregs(), Plwp_setregs(), Plwp_getfpregs(), and
  30      Plwp_setfpregs() functions allow one to get and set the general purpose