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). 30 31 SEE ALSO 32 exec(2), libproc(3LIB), proc(4) 33 34 illumos May 11, 2016 illumos