Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man3proc/Pstatus.3proc.man.txt
+++ new/usr/src/man/man3proc/Pstatus.3proc.man.txt
1 1 PSTATUS(3PROC) Process Control Library Functions PSTATUS(3PROC)
2 2
3 3 NAME
4 4 Pstatus - obtain process status structure
5 5
6 -SYNOPSIS
6 +LIBRARY
7 7 Process Control Library (libproc, -lproc)
8 +
9 +SYNOPSIS
8 10 #include <libproc.h>
9 11
10 12 const pstatus_t *
11 13 Pstatus(struct ps_prochandle *P);
12 14
13 15 DESCRIPTION
14 16 The Pstatus() function returns the status information about the process
15 17 handle P. The pstatus_t structure is defined in proc(4) and contains
16 18 information about the process including its flags, the number of threads,
17 19 the size of the stack, and more.
18 20
19 21 The returned pointer is only valid as long as the process handle P is
20 22 valid. After a call to Prelease(3PROC), the returned data pointer is
21 23 invalid.
22 24
23 25 RETURN VALUES
24 26 The Pstatus() function always returns a pointer to the process's status.
25 27
26 28 INTERFACE STABILITY
27 29 Uncommitted
28 30
29 31 MT-LEVEL
30 32 See LOCKING in libproc(3LIB).
31 33
32 34 SEE ALSO
33 35 libproc(3LIB), Prelease(3PROC), proc(4)
34 36
35 37 illumos May 11, 2016 illumos
↓ open down ↓ |
18 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX