PLWP_GETGWINDOWS(3PROC) | Process Control Library Functions | PLWP_GETGWINDOWS(3PROC) |
Plwp_getgwindows
—
get thread unspilled register windows
Process Control Library (libproc, -lproc)
#include
<libproc.h>
int
Plwp_getgwindows
(struct ps_prochandle
*P, lwpid_t lwpid, gwindows_t
*gwins);
The
Plwp_getgwindows
()
function returns information about register windows that were not spilled to
the stack for the thread identified by lwpid in the
process handle P. The argument
gwins will be filled in with information about the
register windows.
Upon successful completion, the
Plwp_getgwindows
() function returns
0 and
gwins is filled in with information about the windows.
Otherwise, -1 is
returned and
errno is
set to indicate the error.
For a full list of possible errors see the DIAGNOSTICS section in proc(5).
The Plwp_getgwindows
() function will fail
if:
ENODATA
EBUSY
ENOENT
EINVAL
The
Plwp_getgwindows
()
function is only available on
SPARC
platforms.
See LOCKING in libproc(3LIB).
November 27, 2023 | OmniOS |