Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

munlockall()

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:

The current implementation of the munlockall() function doesn't do anything.

Returns:

-1 to indicate an error (errno is set).

Errors:

ENOSYS
The munlockall() function isn't currently supported.

Classification:

POSIX 1003.1 ML

Safety:
Cancellation point No
Interrupt handler No
Signal handler No
Thread Yes

See also:

mlock(), munlock(), mlockall()