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.
Uncommitted
MT-LEVEL
See LOCKING in libproc(3LIB).
ps(1), libproc(3LIB), Lfree(3PROC), proc(5)
illumos November 27, 2023 illumos
NAME
Lpsinfo - get process ps information
LIBRARY
Process Control Library (libproc, -lproc)
SYNOPSIS
#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(5) 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(5)
illumos November 27, 2023 illumos