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

Lpsinfoget process ps information

Process Control Library (libproc, -lproc)

#include <libproc.h>

const lwpsinfo_t *
Lpsinfo(struct ps_lwphandle *L);

The () function returns the thread handle L's ps(1) information. The 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 in libproc(3LIB).

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

November 27, 2023 OmniOS