LPSINFO(3PROC) | Process Control Library Functions | LPSINFO(3PROC) |
Lpsinfo
— get
process ps information
Process Control Library (libproc, -lproc)
#include <libproc.h>
const lwpsinfo_t *
Lpsinfo
(struct ps_lwphandle
*L);
The
Lpsinfo
()
function returns the thread handle L's
ps(1) information. The
lwpsinfo_t
structure that is returned is defined in
proc(5) and is valid until a subsequent
call to Lfree(3PROC).
Upon successful completion, the Lpsinfo
()
function returns a pointer to the thread's ps information. Otherwise,
NULL
is returned to indicate that it could not be
found.
See LOCKING in libproc(3LIB).
May 11, 2016 | OmniOS |