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   0x01 /* Pages can be read. */
#define PROT_WRITE   0x02 /* Pages can be written. */
#define PROT_EXEC   0x04 /* Pages can be executed. */
#define MAP_SHARED   0x01 /* Share changes. */
#define MAP_PRIVATE   0x02 /* Changes private; copy pages on write. */
#define MAP_FIXED   0x0100 /* Map address must be exactly as requested. */
#define MS_ASYNC   1 /* Asynchronous cache flush. */
#define MS_SYNC   3 /* Synchronous cache flush. */
#define MS_INVALIDATE   4 /* Invalidate cached pages. */

Define Documentation

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

Definition at line 48 of file mman.h.

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

Definition at line 45 of file mman.h.

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

Definition at line 44 of file mman.h.

#define MS_ASYNC   1 /* Asynchronous cache flush. */

Definition at line 67 of file mman.h.

#define MS_INVALIDATE   4 /* Invalidate cached pages. */

Definition at line 69 of file mman.h.

#define MS_SYNC   3 /* Synchronous cache flush. */

Definition at line 68 of file mman.h.

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

Definition at line 31 of file mman.h.

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

Definition at line 28 of file mman.h.

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

Definition at line 29 of file mman.h.

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

Definition at line 30 of file mman.h.