Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man3proc/Pdelwapt.3proc.man.txt
+++ new/usr/src/man/man3proc/Pdelwapt.3proc.man.txt
1 1 PDELWAPT(3PROC) Process Control Library Functions PDELWAPT(3PROC)
2 2
3 3 NAME
4 4 Pdelwapt - remove a watchpoint in a process
5 5
6 -SYNOPSIS
6 +LIBRARY
7 7 Process Control Library (libproc, -lproc)
8 +
9 +SYNOPSIS
8 10 #include <libproc.h>
9 11
10 12 int
11 13 Pdelwapt(struct ps_prochandle *P, const prwatch_t *wp);
12 14
13 15 DESCRIPTION
14 16 The Pdelwapt() function removes the watchpoint specified by wp from the
15 17 process represented by the handle P. The watchpoint should have been
16 18 installed with either Psetwapt(3PROC) or the underlying /proc file system
17 19 PCWATCH operation.
18 20
19 21 The Pdelwapt() function only works on running processes, such as those
20 22 created through Pgrab(3PROC) and Pcreate(3PROC). Attempting to remove a
21 23 watchpoint from process handles to core files, zombie processes, or ELF
22 24 objects will fail.
23 25
24 26 RETURN VALUES
25 27 Upon successful completion, the Pdelwapt() function removes the
26 28 watchpoint and returns 0. Otherwise, -1 is returned, errno is set to
27 29 indicate the error.
28 30
29 31 ERRORS
30 32 For a full list of possible errors see the DIAGNOSTICS section in
31 33 proc(4).
32 34
33 35 The Pdelwapt() function will fail with:
34 36
35 37 ENOENT The handle P refers to a grabbed core file, a zombie
36 38 process, or an ELF object.
37 39
38 40 INTERFACE STABILITY
39 41 Uncommitted
40 42
41 43 MT-LEVEL
42 44 See LOCKING in libproc(3LIB).
43 45
44 46 SEE ALSO
45 47 libproc(3LIB), Pcreate(3PROC), Pgrab(3PROC), Pgrab_core(3PROC),
46 48 Pgrab_file(3PROC), Psetwapt(3PROC), proc(4)
47 49
48 50 illumos May 11, 2016 illumos
↓ open down ↓ |
31 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX