Back to index

glibc  2.9
mman.h File Reference

Go to the source code of this file.


#define PROT_READ   0x1 /* Page can be read. */
#define PROT_WRITE   0x2 /* Page can be written. */
#define PROT_EXEC   0x4 /* Page can be executed. */
#define PROT_NONE   0x0 /* Page can not be accessed. */
#define MAP_SHARED   0x01 /* Share changes. */
#define MAP_PRIVATE   0x02 /* Changes are private. */
#define MAP_FIXED   0x10 /* Interpret addr exactly. */
#define MS_ASYNC   0x1 /* Sync memory asynchronously. */
#define MS_INVALIDATE   0x2 /* Invalidate the caches. */
#define MS_SYNC   0x4 /* Synchronous memory sync. */
#define MCL_CURRENT   0x1 /* Lock all currently mapped pages. */
#define MCL_FUTURE

Define Documentation

#define MAP_FIXED   0x10 /* Interpret addr exactly. */

Definition at line 48 of file mman.h.

#define MAP_PRIVATE   0x02 /* Changes are private. */

Definition at line 42 of file mman.h.

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

Definition at line 41 of file mman.h.

#define MCL_CURRENT   0x1 /* Lock all currently mapped pages. */

Definition at line 73 of file mman.h.

#define MCL_FUTURE
0x2           /* Lock all additions to address
                                      space.  */

Definition at line 74 of file mman.h.

#define MS_ASYNC   0x1 /* Sync memory asynchronously. */

Definition at line 68 of file mman.h.

#define MS_INVALIDATE   0x2 /* Invalidate the caches. */

Definition at line 69 of file mman.h.

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

Definition at line 70 of file mman.h.

#define PROT_EXEC   0x4 /* Page can be executed. */

Definition at line 35 of file mman.h.

0x01000000    /* Extend change to start of
                                      growsdown vma (mprotect only).  */

Definition at line 37 of file mman.h.

0x02000000    /* Extend change to start of
                                      growsup vma (mprotect only).  */

Definition at line 38 of file mman.h.

#define PROT_NONE   0x0 /* Page can not be accessed. */

Definition at line 36 of file mman.h.

#define PROT_READ   0x1 /* Page can be read. */

Definition at line 33 of file mman.h.

#define PROT_WRITE   0x2 /* Page can be written. */

Definition at line 34 of file mman.h.