1 PSTATUS(3PROC) Process Control Library Functions PSTATUS(3PROC)
2
3 NAME
4 Pstatus - obtain process status structure
5
6 SYNOPSIS
7 Process Control Library (libproc, -lproc)
8 #include <libproc.h>
9
10 const pstatus_t *
11 Pstatus(struct ps_prochandle *P);
12
13 DESCRIPTION
14 The Pstatus() function returns the status information about the process
15 handle P. The pstatus_t structure is defined in proc(4) and contains
16 information about the process including its flags, the number of threads,
17 the size of the stack, and more.
18
19 The returned pointer is only valid as long as the process handle P is
20 valid. After a call to Prelease(3PROC), the returned data pointer is
21 invalid.
22
23 RETURN VALUES
24 The Pstatus() function always returns a pointer to the process's status.
25
26 INTERFACE STABILITY
27 Uncommitted
|
1 PSTATUS(3PROC) Process Control Library Functions PSTATUS(3PROC)
2
3 NAME
4 Pstatus - obtain process status structure
5
6 LIBRARY
7 Process Control Library (libproc, -lproc)
8
9 SYNOPSIS
10 #include <libproc.h>
11
12 const pstatus_t *
13 Pstatus(struct ps_prochandle *P);
14
15 DESCRIPTION
16 The Pstatus() function returns the status information about the process
17 handle P. The pstatus_t structure is defined in proc(4) and contains
18 information about the process including its flags, the number of threads,
19 the size of the stack, and more.
20
21 The returned pointer is only valid as long as the process handle P is
22 valid. After a call to Prelease(3PROC), the returned data pointer is
23 invalid.
24
25 RETURN VALUES
26 The Pstatus() function always returns a pointer to the process's status.
27
28 INTERFACE STABILITY
29 Uncommitted
|