Unlock a process's address space
#include <sys/mman.h> int munlockall( void );
Use the -l c option to qcc to link against this library. This library is usually included automatically.
Any pages that become mapped into the address space of the process after it calls munlockall() aren't locked, unless there's an intervening call to mlockall() specifying MCL_FUTURE or a subsequent call to mlockall() specifying MCL_CURRENT.
Calling this function doesn't affect any memory locks set by other processes on the pages.
Last modified: 2013-12-23