|PSETWAPT(3PROC)||Process Control Library Functions||PSETWAPT(3PROC)|
Psetwapt — set a
watchpoint in a process
Process Control Library (libproc, -lproc)
*P, const prwatch_t *wp);
function adds a watchpoint to the process handle P.
Allowing the hardware to generate a trap when the specified area is
accessed. The watchpoint's parameters are described in
wp. For more information on watchpoints and the
structure, see the
section in proc(5). The watched area
will persist until a subsequent call to
Note, only active processes support watchpoints. It is an error to call this function on process handles that correspond to core files, zombie processes, or files.
Psetwapt() function will fail if:
|May 11, 2016||OmniOS|