Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
   1 PLWP_GETXREGS(3PROC)   Process Control Library Functions  PLWP_GETXREGS(3PROC)
   2 
   3 NAME
   4      Plwp_getxregs, Plwp_setxregs - get and set extended register state
   5 
   6 SYNOPSIS
   7      Process Control Library (libproc, -lproc)


   8      #include <libproc.h>
   9 
  10      int
  11      Plwp_getxregs(struct ps_prochandle *P, lwpid_t lwpid,
  12          prxregset_t *xregs);
  13 
  14      int
  15      Plwp_setxregs(struct ps_prochandle *P, lwpid_t lwpid,
  16          const prxregset_t *xregs);
  17 
  18 DESCRIPTION
  19      The Plwp_getxregs() and Plwp_setxregs() functions get and set the
  20      extended register state of the thread lwpid in the process handle P.
  21 
  22      The extended register state is defined by the architecture.  These
  23      registers may refer to optional registers that have become common on the
  24      platform, but are not part of the standard ABI and thus not covered by
  25      functions such as Plwp_getregs(3PROC) and Plwp_getfpregs(3PROC).
  26 
  27      The Plwp_getxregs() function gets the extended register state information


   1 PLWP_GETXREGS(3PROC)   Process Control Library Functions  PLWP_GETXREGS(3PROC)
   2 
   3 NAME
   4      Plwp_getxregs, Plwp_setxregs - get and set extended register state
   5 
   6 LIBRARY
   7      Process Control Library (libproc, -lproc)
   8 
   9 SYNOPSIS
  10      #include <libproc.h>
  11 
  12      int
  13      Plwp_getxregs(struct ps_prochandle *P, lwpid_t lwpid,
  14          prxregset_t *xregs);
  15 
  16      int
  17      Plwp_setxregs(struct ps_prochandle *P, lwpid_t lwpid,
  18          const prxregset_t *xregs);
  19 
  20 DESCRIPTION
  21      The Plwp_getxregs() and Plwp_setxregs() functions get and set the
  22      extended register state of the thread lwpid in the process handle P.
  23 
  24      The extended register state is defined by the architecture.  These
  25      registers may refer to optional registers that have become common on the
  26      platform, but are not part of the standard ABI and thus not covered by
  27      functions such as Plwp_getregs(3PROC) and Plwp_getfpregs(3PROC).
  28 
  29      The Plwp_getxregs() function gets the extended register state information