munlockall()

QNX SDP8.0C Library ReferenceAPIDeveloper

Unlock a process's address space

Synopsis:

#include <sys/mman.h>

int munlockall( void );

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

Description:

Note:
In this QNX OS release, all memory is locked for the entire duration of the process, so this function does nothing.

The munlockall() function unlocks all of the currently mapped pages of the calling process's address space. You can lock memory by calling mlock() or mlockall().

Returns:

In this release, this function always returns 0 (success).

Classification:

POSIX 1003.1 ML

Safety:
Cancellation pointNo
Signal handlerNo
ThreadYes
Page updated: