Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section


   3 .\" Common Development and Distribution License ("CDDL"), version 1.0.
   4 .\" You may only use this file in accordance with the terms of version
   5 .\" 1.0 of the CDDL.
   6 .\"
   7 .\" A full copy of the text of the CDDL should have accompanied this
   8 .\" source.  A copy of the CDDL is also available via the Internet at
   9 .\" http://www.illumos.org/license/CDDL.
  10 .\"
  11 .\"
  12 .\" Copyright 2015 Joyent, Inc.
  13 .\"
  14 .Dd May 11, 2016
  15 .Dt PGETAREG 3PROC
  16 .Os
  17 .Sh NAME
  18 .Nm Pgetareg ,
  19 .Nm Pputareg ,
  20 .Nm Lgetareg ,
  21 .Nm Lputareg
  22 .Nd set and get a register from a stopped process or thread
  23 .Sh SYNOPSIS
  24 .Lb libproc

  25 .In libproc.h
  26 .Ft int
  27 .Fo Pgetareg
  28 .Fa "struct ps_prochandle *P"
  29 .Fa "int regno"
  30 .Fa "prgreg_t *preg"
  31 .Fc
  32 .Ft int
  33 .Fo Pputareg
  34 .Fa "struct ps_prochandle *P"
  35 .Fa "int regno"
  36 .Fa "prgreg_t preg"
  37 .Fc
  38 .Ft int
  39 .Fo Lgetareg
  40 .Fa "struct ps_lwphandle *L"
  41 .Fa "int regno"
  42 .Fa "prgreg_t *preg"
  43 .Fc
  44 .Ft int




   3 .\" Common Development and Distribution License ("CDDL"), version 1.0.
   4 .\" You may only use this file in accordance with the terms of version
   5 .\" 1.0 of the CDDL.
   6 .\"
   7 .\" A full copy of the text of the CDDL should have accompanied this
   8 .\" source.  A copy of the CDDL is also available via the Internet at
   9 .\" http://www.illumos.org/license/CDDL.
  10 .\"
  11 .\"
  12 .\" Copyright 2015 Joyent, Inc.
  13 .\"
  14 .Dd May 11, 2016
  15 .Dt PGETAREG 3PROC
  16 .Os
  17 .Sh NAME
  18 .Nm Pgetareg ,
  19 .Nm Pputareg ,
  20 .Nm Lgetareg ,
  21 .Nm Lputareg
  22 .Nd set and get a register from a stopped process or thread
  23 .Sh LIBRARY
  24 .Lb libproc
  25 .Sh SYNOPSIS
  26 .In libproc.h
  27 .Ft int
  28 .Fo Pgetareg
  29 .Fa "struct ps_prochandle *P"
  30 .Fa "int regno"
  31 .Fa "prgreg_t *preg"
  32 .Fc
  33 .Ft int
  34 .Fo Pputareg
  35 .Fa "struct ps_prochandle *P"
  36 .Fa "int regno"
  37 .Fa "prgreg_t preg"
  38 .Fc
  39 .Ft int
  40 .Fo Lgetareg
  41 .Fa "struct ps_lwphandle *L"
  42 .Fa "int regno"
  43 .Fa "prgreg_t *preg"
  44 .Fc
  45 .Ft int