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

NAME


Lstate - obtain thread handle state

SYNOPSIS


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

int
Lstate(struct ps_lwphandle *L);

DESCRIPTION


The Lstate() function returns the state of the thread handle L. The list
of states is available in the libproc(3LIB).

RETURN VALUES


Upon successful completion, the current state is returned.

INTERFACE STABILITY


Uncommitted

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

SEE ALSO


libproc(3LIB)

illumos May 11, 2016 illumos