| manpages.info - online man pages | ![]() |
|||
|
munmap (2) Table of Contents
Namemunmap - remove a mapping
Synopsis
#include <sys/types.h>
int
DescriptionThe munmap() system call deletes the mappings for the specified address range, and causes further references to addresses within the range to generate invalid memory references.
Return ValuesUpon successful completion, munmap returns zero. Otherwise, a value of -1 is returned and errno is set to indicate the error.
ErrorsMunmap() will fail if:
See Alsogetpagesize(3) , msync(2) , munmap(2) , mprotect(2) , madvise(2) , mincore(2)
HistoryThe munmap() function first appeared in 4.4BSD.
|