mman man page on SmartOS

Man page or keyword search:  
man Server   16655 pages
apropos Keyword Search (all sections)
Output format
SmartOS logo
[printable version]

MMAN.H(3HEAD)							 MMAN.H(3HEAD)

NAME
       mman.h, mman - memory management declarations

SYNOPSIS
       #include <sys/mman.h>

DESCRIPTION
       The <sys/mman.h> header supports the following options:

	   o	  the Memory Mapped Files option

	   o	  the Shared Memory Objects option

	   o	  the Process Memory Locking option

	   o	  the Memory Protection option

	   o	  the Synchronized Input and Output option

       For  Memory Mapped Files and Shared Memory Objects options, the follow‐
       ing protection options are defined:

       PROT_READ
		     Page can be read.

       PROT_WRITE
		     Page can be written.

       PROT_EXEC
		     Page can be executed.

       PROT_NONE
		     Page cannot be accessed.

       The following flag options are defined:

       MAP_SHARED
		      Share changes.

       MAP_PRIVATE
		      Changes are private.

       MAP_FIXED
		      Interpret addr exactly.

       The flags immediately following are defined for msync(). See msync(3C).

       MS_ASYNC
			Perform asynchronous writes.

       MS_SYNC
			Perform synchronous writes.

       MS_INVALIDATE
			Invalidate mappings.

       The symbolic constants immediately following are defined for the mlock‐
       all() function. See mlockall(3C).

       MCL_CURRENT
		      Lock currently mapped pages.

       MCL_FUTURE
		      Lock pages that become mapped.

       The  symbolic constant MAP_FAILED is defined to indicate a failure from
       the mmap() function. See mmap(2).

       The mode_t, off_t, and size_t types are	be  defined  as	 described  in
       <sys/types.h>. See types(3HEAD).

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌────────────────────┬───────────────────┐
       │  ATTRIBUTE TYPE    │  ATTRIBUTE VALUE	│
       ├────────────────────┼───────────────────┤
       │Interface Stability │ Committed		│
       ├────────────────────┼───────────────────┤
       │Standard	    │ See standards(5). │
       └────────────────────┴───────────────────┘

SEE ALSO
       mmap(2),	 mprotect(2), munmap(2), madvise(3C), mlock(3C), mlockall(3C),
       msync(3C), shm_open(3C), shm_unlink(3C), attributes(5), standards(5)

				  Feb 5, 2008			 MMAN.H(3HEAD)
[top]

List of man pages available for SmartOS

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