PRESET_MAPS(3PROC) Process Control Library Functions PRESET_MAPS(3PROC)
NAME
Preset_maps - reset memory mapping data after exec
LIBRARY
Process Control Library (libproc, -lproc)
SYNOPSIS
#include <libproc.h> void Preset_maps(
struct ps_prochandle *P);
DESCRIPTION
The
Preset_maps() function resets all of the mapping data, cached
symbol tables, debug information, CTF, and more in the process handle
P. The map information will rebuild itself on the execution of another
libproc(3LIB) function that requires the information. This function
should be called any time after a process handle performs an
exec(2).
As such, this interface is only relevant to the manipulation of live
processes and not core files or ELF files. For more information, see
the
PROGRAMMING NOTES section in
libproc(3LIB).
INTERFACE STABILITY
UncommittedMT-LEVEL See
LOCKING in
libproc(3LIB).
SEE ALSO
exec(2),
libproc(3LIB),
proc(5)illumos May 11, 2016 illumos