LSTATUS(3PROC) Process Control Library Functions LSTATUS(3PROC)
- obtain thread status structure
Process Control Library (libproc, -lproc) #include <libproc.h> const lwpstatus_t * Pstatus
(struct ps_lwphandle *L
() function returns the status information about the thread
. The lwpstatus_t
structure is defined in proc(4)
information about the thread including its flags, the size of its stack,
its user and system time, and more.
The returned pointer is only valid as long as the thread handle L
After a call to Lfree(3PROC)
, the returned data pointer is invalid.
Upon successful completion, the Lstatus
() function returns a pointer to the
status information of the process. It always succeeds.
INTERFACE STABILITY UncommittedMT-LEVEL
SEE ALSO libproc(3LIB)
illumos May 11, 2016 illumos