munmap man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

munmap(2)							     munmap(2)

NAME
       munmap - unmap pages of memory

SYNOPSIS
DESCRIPTION
       The  function  removes  the  mappings  for  pages  in  the range [addr,
       addr+len], rounding the len argument up to the  next  multiple  of  the
       page size as returned by If addr is not the address of a mapping estab‐
       lished by a prior call to the behavior is undefined. After a successful
       call  to	 and before any subsequent mapping of the unmapped pages, fur‐
       ther references to these pages will result in the delivery of a or sig‐
       nal to the process.

       If  the	specified  address range was created by multiple calls to suc‐
       ceeds in unmapping all of the specified regions, provided they  form  a
       contiguous address range.

       If  the	region	was created with the option, any modifications made to
       the region are discarded.

RETURN VALUE
       Upon successful completion, returns Otherwise, it returns and  sets  to
       indicate the error.

ERRORS
       The function will fails if:

	      [EINVAL]	     The  addr	argument is not a multiple of the page
			     size as returned by

	      [EINVAL]	     Addresses in the range [addr, addr+len], are out‐
			     side  the	valid range for the address space of a
			     process.

	      [EINVAL]	     The address range specified by addr and  len  was
			     not created by a successful call to

	      [EINVAL]	     The len argument is

AUTHOR
       was developed by HP, AT&T, and OSF.

SEE ALSO
       mmap(2), sysconf(2), <signal.h>, <sys/mman.h>.

STANDARDS CONFORMANCE
CHANGE HISTORY
       First released in Issue 4, Version 2.

								     munmap(2)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net