Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
   1 PDELWAPT(3PROC)        Process Control Library Functions       PDELWAPT(3PROC)
   2 
   3 NAME
   4      Pdelwapt - remove a watchpoint in a process
   5 
   6 SYNOPSIS
   7      Process Control Library (libproc, -lproc)


   8      #include <libproc.h>
   9 
  10      int
  11      Pdelwapt(struct ps_prochandle *P, const prwatch_t *wp);
  12 
  13 DESCRIPTION
  14      The Pdelwapt() function removes the watchpoint specified by wp from the
  15      process represented by the handle P.  The watchpoint should have been
  16      installed with either Psetwapt(3PROC) or the underlying /proc file system
  17      PCWATCH operation.
  18 
  19      The Pdelwapt() function only works on running processes, such as those
  20      created through Pgrab(3PROC) and Pcreate(3PROC).  Attempting to remove a
  21      watchpoint from process handles to core files, zombie processes, or ELF
  22      objects will fail.
  23 
  24 RETURN VALUES
  25      Upon successful completion, the Pdelwapt() function removes the
  26      watchpoint and returns 0.  Otherwise, -1 is returned, errno is set to
  27      indicate the error.


   1 PDELWAPT(3PROC)        Process Control Library Functions       PDELWAPT(3PROC)
   2 
   3 NAME
   4      Pdelwapt - remove a watchpoint in a process
   5 
   6 LIBRARY
   7      Process Control Library (libproc, -lproc)
   8 
   9 SYNOPSIS
  10      #include <libproc.h>
  11 
  12      int
  13      Pdelwapt(struct ps_prochandle *P, const prwatch_t *wp);
  14 
  15 DESCRIPTION
  16      The Pdelwapt() function removes the watchpoint specified by wp from the
  17      process represented by the handle P.  The watchpoint should have been
  18      installed with either Psetwapt(3PROC) or the underlying /proc file system
  19      PCWATCH operation.
  20 
  21      The Pdelwapt() function only works on running processes, such as those
  22      created through Pgrab(3PROC) and Pcreate(3PROC).  Attempting to remove a
  23      watchpoint from process handles to core files, zombie processes, or ELF
  24      objects will fail.
  25 
  26 RETURN VALUES
  27      Upon successful completion, the Pdelwapt() function removes the
  28      watchpoint and returns 0.  Otherwise, -1 is returned, errno is set to
  29      indicate the error.