Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
   1 PRESET_MAPS(3PROC)     Process Control Library Functions    PRESET_MAPS(3PROC)
   2 
   3 NAME
   4      Preset_maps - reset memory mapping data after exec
   5 
   6 SYNOPSIS
   7      Process Control Library (libproc, -lproc)


   8      #include <libproc.h>
   9 
  10      void
  11      Preset_maps(struct ps_prochandle *P);
  12 
  13 DESCRIPTION
  14      The Preset_maps() function resets all of the mapping data, cached symbol
  15      tables, debug information, CTF, and more in the process handle P.  The
  16      map information will rebuild itself on the execution of another
  17      libproc(3LIB) function that requires the information.  This function
  18      should be called any time after a process handle performs an exec(2).  As
  19      such, this interface is only relevant to the manipulation of live
  20      processes and not core files or ELF files.  For more information, see the
  21      PROGRAMMING NOTES section in libproc(3LIB).
  22 
  23 INTERFACE STABILITY
  24      Uncommitted
  25 
  26 MT-LEVEL
  27      See LOCKING in libproc(3LIB).
   1 PRESET_MAPS(3PROC)     Process Control Library Functions    PRESET_MAPS(3PROC)
   2 
   3 NAME
   4      Preset_maps - reset memory mapping data after exec
   5 
   6 LIBRARY
   7      Process Control Library (libproc, -lproc)
   8 
   9 SYNOPSIS
  10      #include <libproc.h>
  11 
  12      void
  13      Preset_maps(struct ps_prochandle *P);
  14 
  15 DESCRIPTION
  16      The Preset_maps() function resets all of the mapping data, cached symbol
  17      tables, debug information, CTF, and more in the process handle P.  The
  18      map information will rebuild itself on the execution of another
  19      libproc(3LIB) function that requires the information.  This function
  20      should be called any time after a process handle performs an exec(2).  As
  21      such, this interface is only relevant to the manipulation of live
  22      processes and not core files or ELF files.  For more information, see the
  23      PROGRAMMING NOTES section in libproc(3LIB).
  24 
  25 INTERFACE STABILITY
  26      Uncommitted
  27 
  28 MT-LEVEL
  29      See LOCKING in libproc(3LIB).