Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ munmap(2) — NEWS-os 4.2.1R

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

brk(2)

mmap(2)

close(2)

MUNMAP(2)  —  NEWS-OS Programmer’s Manual

NAME

munmap − unmapping pages of a memory

SYNOPSIS

#include <sys/mman.h>
#include <sys/types.h>
 munmap(addr, len)
caddr_t addr; int len;

DESCRIPTION

This system call is not implemented completely in NEWS-OS 4.x.  munmap releases (unmaps) the len bytes beginning at addr.

RETURN VALUE

Upon successful completion, a value of 0 is returned.  Otherwise, a value of −1 is returned. 

ERRORS

[EINVAL] The address or the length is not multiples of the page size obtained by getpagesize(2) or the length is a negative. 

[EINVAL] The specified area is not found on the data area. 

SEE ALSO

brk(2), mmap(2), close(2)

NEWS-OSRelease 4.2.1R

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026