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


   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 PLWP_STACK 3PROC
  16 .Os
  17 .Sh NAME
  18 .Nm Plwp_stack ,
  19 .Nm Plwp_alt_stack ,
  20 .Nm Plwp_main_stack ,
  21 .Nm Lstack ,
  22 .Nm Lalt_stack ,
  23 .Nm Lmain_stack
  24 .Nd get thread stack information
  25 .Sh SYNOPSIS
  26 .Lb libproc

  27 .In libproc.h
  28 .Ft int
  29 .Fo Plwp_stack
  30 .Fa "struct ps_prochandle *P"
  31 .Fa "lwpid_t lwpid"
  32 .Fa "stack_t *stkp"
  33 .Fc
  34 .Ft int
  35 .Fo Plwp_alt_stack
  36 .Fa "struct ps_prochandle *P"
  37 .Fa "lwpid_t lwpid"
  38 .Fa "stack_t *stkp"
  39 .Fc
  40 .Ft int
  41 .Fo Plwp_main_stack
  42 .Fa "struct ps_prochandle *P"
  43 .Fa "lwpid_t lwpid"
  44 .Fa "stack_t *stkp"
  45 .Fc
  46 .Ft int




   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 PLWP_STACK 3PROC
  16 .Os
  17 .Sh NAME
  18 .Nm Plwp_stack ,
  19 .Nm Plwp_alt_stack ,
  20 .Nm Plwp_main_stack ,
  21 .Nm Lstack ,
  22 .Nm Lalt_stack ,
  23 .Nm Lmain_stack
  24 .Nd get thread stack information
  25 .Sh LIBRARY
  26 .Lb libproc
  27 .Sh SYNOPSIS
  28 .In libproc.h
  29 .Ft int
  30 .Fo Plwp_stack
  31 .Fa "struct ps_prochandle *P"
  32 .Fa "lwpid_t lwpid"
  33 .Fa "stack_t *stkp"
  34 .Fc
  35 .Ft int
  36 .Fo Plwp_alt_stack
  37 .Fa "struct ps_prochandle *P"
  38 .Fa "lwpid_t lwpid"
  39 .Fa "stack_t *stkp"
  40 .Fc
  41 .Ft int
  42 .Fo Plwp_main_stack
  43 .Fa "struct ps_prochandle *P"
  44 .Fa "lwpid_t lwpid"
  45 .Fa "stack_t *stkp"
  46 .Fc
  47 .Ft int