mman(5) File Formats Manual mman(5)NAME
mman - memory mapping definitions
SYNOPSIS DESCRIPTION
The header defines the following symbolic constants for use with the function:
No further special treatment.
Expect random page references.
Expect sequential page references.
Will need these pages.
Will not need these pages.
Ensure that resources are reserved.
The following symbolic constants are defined for use with the and functions:
Region can be read.
Region can be written.
Region can be executed.
Region cannot be accessed.
The following symbolic constants are defined for use with the function:
Map a file.
Map an unnamed memory region.
Place region at implementation-computed address.
Place region at specified address.
Share changes made to mapped region.
Changes to mapped region are private to a process.
The following symbolic constants are defined for use with the function:
Perform synchronous writes.
Perform asynchronous writes.
Invalidate cached pages.
The following symbolic constants are defined for use with the and functions:
Create semaphore in locked state.
Create semaphore in unlocked state.
Do not wait if semaphore is locked.
Do not unlock if semaphore has no waiters.
The is defined for use with the and functions.
SEE ALSO mmap(2), munmap(2), mprotect(2), msync(2), madvise(2), msem_init(2), msem_remove(2), msem_lock(2), msem_unlock(2).
mman(5)
Check Out this Related Man Page
mman.h(3HEAD) Headers 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 following 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 mlockall() 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 |Standard |
+-----------------------------+-----------------------------+
SEE ALSO mmap(2), mprotect(2), munmap(2), madvise(3C), mlock(3C), mlockall(3C), msync(3C), shm_open(3RT), shm_unlink(3RT), attributes(5), stan-
dards(5)SunOS 5.10 10 Sep 2004 mman.h(3HEAD)
I have a file consisting of a list of ip address, one per line, a seedfile if you will.
I have a file name <ip address>.push for each ip address contained in the seedfile
I want to be able to open and read the seedfile assigning the ip to a variable, then open the associated <ip... (1 Reply)
Hi,
I would like to know how can I get a mean score value by ID over a defined genomic region. Here it is an example:
file1
12 100 103 id1
12 110 112 id1
12 200 203 id2
file2
12 100 101 1
12 101 102 0.8
12 102 103 0.7
12 110 111 2.5
12 111 112 2.8
12 200 201 10.1
12 201 202... (7 Replies)