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

NAME


Lstate - obtain thread handle state

LIBRARY


Process Control Library (libproc, -lproc)

SYNOPSIS


#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 November 27, 2023 illumos