Back to index

glibc  2.9
Defines
mman.h File Reference

Go to the source code of this file.

Defines

#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 PROT_GROWSDOWN
#define PROT_GROWSUP
#define MAP_SHARED   0x01 /* Share changes */
#define MAP_PRIVATE   0x02 /* Changes are private */
#define MAP_FIXED   0x04 /* Interpret addr exactly */
#define MS_SYNC   1 /* Synchronous memory sync */
#define MS_ASYNC   2 /* Sync memory asynchronously */
#define MS_INVALIDATE   4 /* Invalidate the caches */
#define MCL_CURRENT   1 /* Lock all current mappings */
#define MCL_FUTURE   2 /* Lock all future mappings */
#define MADV_4K_PAGES   12 /* Use 4K pages */
#define MADV_16K_PAGES   14 /* Use 16K pages */
#define MADV_64K_PAGES   16 /* Use 64K pages */
#define MADV_256K_PAGES   18 /* Use 256K pages */
#define MADV_1M_PAGES   20 /* Use 1 Megabyte pages */
#define MADV_4M_PAGES   22 /* Use 4 Megabyte pages */
#define MADV_16M_PAGES   24 /* Use 16 Megabyte pages */
#define MADV_64M_PAGES   26 /* Use 64 Megabyte pages */

Define Documentation

#define MADV_16K_PAGES   14 /* Use 16K pages */

Definition at line 91 of file mman.h.

#define MADV_16M_PAGES   24 /* Use 16 Megabyte pages */

Definition at line 96 of file mman.h.

#define MADV_1M_PAGES   20 /* Use 1 Megabyte pages */

Definition at line 94 of file mman.h.

#define MADV_256K_PAGES   18 /* Use 256K pages */

Definition at line 93 of file mman.h.

#define MADV_4K_PAGES   12 /* Use 4K pages */

Definition at line 90 of file mman.h.

#define MADV_4M_PAGES   22 /* Use 4 Megabyte pages */

Definition at line 95 of file mman.h.

#define MADV_64K_PAGES   16 /* Use 64K pages */

Definition at line 92 of file mman.h.

#define MADV_64M_PAGES   26 /* Use 64 Megabyte pages */

Definition at line 97 of file mman.h.

#define MAP_FIXED   0x04 /* Interpret addr exactly */

Definition at line 40 of file mman.h.

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

Definition at line 34 of file mman.h.

#define MAP_SHARED   0x01 /* Share changes */

Definition at line 33 of file mman.h.

#define MCL_CURRENT   1 /* Lock all current mappings */

Definition at line 65 of file mman.h.

#define MCL_FUTURE   2 /* Lock all future mappings */

Definition at line 66 of file mman.h.

#define MS_ASYNC   2 /* Sync memory asynchronously */

Definition at line 61 of file mman.h.

#define MS_INVALIDATE   4 /* Invalidate the caches */

Definition at line 62 of file mman.h.

#define MS_SYNC   1 /* Synchronous memory sync */

Definition at line 60 of file mman.h.

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

Definition at line 28 of file mman.h.

#define PROT_GROWSDOWN
Value:
0x01000000    /* Extend change to start of
                                      growsdown vma (mprotect only).  */

Definition at line 30 of file mman.h.

#define PROT_GROWSUP
Value:
0x02000000    /* Extend change to start of
                                      growsup vma (mprotect only).  */

Definition at line 31 of file mman.h.

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

Definition at line 29 of file mman.h.

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

Definition at line 26 of file mman.h.

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

Definition at line 27 of file mman.h.