Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
   1 PUPDATE_MAPS(3PROC)    Process Control Library Functions   PUPDATE_MAPS(3PROC)
   2 
   3 NAME
   4      Pupdate_maps - update address space mappings
   5 
   6 SYNOPSIS
   7      Process Control Library (libproc, -lproc)


   8      #include <libproc.h>
   9 
  10      void
  11      Pupdate_maps(struct ps_prochandle *P);
  12 
  13 DESCRIPTION
  14      The Pupdate_maps() function is used to verify that all of the cached
  15      mappings in the process P are still valid and update the cached data with
  16      any new information.  This is generally called in response to activity by
  17      the run-time link-editor.  In general, the libproc library takes care of
  18      managing the need to call this function; however, debuggers,
  19      introspection tools, and others that are interposing on rtld activity or
  20      other actions, may need to call this function.  Note that the
  21      Pupdate_maps() function is only meaningful for active processes.  It will
  22      do nothing on process handles that refer to core files, zombie processes,
  23      and ELF objects.
  24 
  25 INTERFACE STABILITY
  26      Uncommitted
  27 
   1 PUPDATE_MAPS(3PROC)    Process Control Library Functions   PUPDATE_MAPS(3PROC)
   2 
   3 NAME
   4      Pupdate_maps - update address space mappings
   5 
   6 LIBRARY
   7      Process Control Library (libproc, -lproc)
   8 
   9 SYNOPSIS
  10      #include <libproc.h>
  11 
  12      void
  13      Pupdate_maps(struct ps_prochandle *P);
  14 
  15 DESCRIPTION
  16      The Pupdate_maps() function is used to verify that all of the cached
  17      mappings in the process P are still valid and update the cached data with
  18      any new information.  This is generally called in response to activity by
  19      the run-time link-editor.  In general, the libproc library takes care of
  20      managing the need to call this function; however, debuggers,
  21      introspection tools, and others that are interposing on rtld activity or
  22      other actions, may need to call this function.  Note that the
  23      Pupdate_maps() function is only meaningful for active processes.  It will
  24      do nothing on process handles that refer to core files, zombie processes,
  25      and ELF objects.
  26 
  27 INTERFACE STABILITY
  28      Uncommitted
  29