Back to index

glibc  2.9
Defines
mman.h File Reference

Go to the source code of this file.

Defines

#define PROT_NONE   0x00 /* No access. */
#define PROT_READ   0x04 /* Pages can be read. */
#define PROT_WRITE   0x02 /* Pages can be written. */
#define PROT_EXEC   0x01 /* Pages can be executed. */
#define MAP_SHARED   0x0010 /* Share changes. */
#define MAP_PRIVATE   0x0000 /* Changes private; copy pages on write. */
#define MAP_FIXED   0x0100 /* Map address must be exactly as requested. */
#define MS_ASYNC   1 /* Sync memory asynchronously. */
#define MS_SYNC   0 /* Synchronous memory sync. */
#define MS_INVALIDATE   2 /* Invalidate the caches. */
#define MCL_CURRENT   1 /* Lock all currently mapped pages. */
#define MCL_FUTURE

Define Documentation

#define MAP_FIXED   0x0100 /* Map address must be exactly as requested. */

Definition at line 58 of file mman.h.

#define MAP_PRIVATE   0x0000 /* Changes private; copy pages on write. */

Definition at line 55 of file mman.h.

#define MAP_SHARED   0x0010 /* Share changes. */

Definition at line 54 of file mman.h.

#define MCL_CURRENT   1 /* Lock all currently mapped pages. */

Definition at line 95 of file mman.h.

#define MCL_FUTURE
Value:
2             /* Lock all additions to address
                                      space.  */

Definition at line 96 of file mman.h.

#define MS_ASYNC   1 /* Sync memory asynchronously. */

Definition at line 84 of file mman.h.

#define MS_INVALIDATE   2 /* Invalidate the caches. */

Definition at line 86 of file mman.h.

#define MS_SYNC   0 /* Synchronous memory sync. */

Definition at line 85 of file mman.h.

#define PROT_EXEC   0x01 /* Pages can be executed. */

Definition at line 36 of file mman.h.

#define PROT_NONE   0x00 /* No access. */

Definition at line 33 of file mman.h.

#define PROT_READ   0x04 /* Pages can be read. */

Definition at line 34 of file mman.h.

#define PROT_WRITE   0x02 /* Pages can be written. */

Definition at line 35 of file mman.h.