LPSINFO(3PROC) Process Control Library Functions LPSINFO(3PROC)

NAME


Lpsinfo - get process ps information

SYNOPSIS


Process Control Library (libproc, -lproc)
#include <libproc.h>

const lwpsinfo_t *
Lpsinfo(struct ps_lwphandle *L);

DESCRIPTION


The Lpsinfo() function returns the thread handle L's ps(1) information.
The lwpsinfo_t structure that is returned is defined in proc(4) and is
valid until a subsequent call to Lfree(3PROC).

RETURN VALUES


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.

INTERFACE STABILITY


Uncommitted

MT-LEVEL
See LOCKING in libproc(3LIB).

SEE ALSO


ps(1), libproc(3LIB), Lfree(3PROC), proc(4)

illumos May 11, 2016 illumos