1: /*
   2:  * Copyright (c) 1982, 1986 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  *
   6:  *	@(#)mman.h	7.1 (Berkeley) 6/4/86
   7:  */
   8: 
   9: /* protections are chosen from these bits, or-ed together */
  10: #define PROT_READ   0x1     /* pages can be read */
  11: #define PROT_WRITE  0x2     /* pages can be written */
  12: #define PROT_EXEC   0x4     /* pages can be executed */
  13: 
  14: /* sharing types: choose either SHARED or PRIVATE */
  15: #define MAP_SHARED  1       /* share changes */
  16: #define MAP_PRIVATE 2       /* changes are private */
  17: 
  18: /* advice to madvise */
  19: #define MADV_NORMAL 0       /* no further special treatment */
  20: #define MADV_RANDOM 1       /* expect random page references */
  21: #define MADV_SEQUENTIAL 2       /* expect sequential page references */
  22: #define MADV_WILLNEED   3       /* will need these pages */
  23: #define MADV_DONTNEED   4       /* dont need these pages */

Defined macros

MADV_DONTNEED defined in line 23; never used
MADV_NORMAL defined in line 19; never used
MADV_RANDOM defined in line 20; never used
MADV_SEQUENTIAL defined in line 21; never used
MADV_WILLNEED defined in line 22; never used
MAP_PRIVATE defined in line 16; never used
MAP_SHARED defined in line 15; used 1 times
PROT_EXEC defined in line 12; never used
PROT_READ defined in line 10; used 1 times
PROT_WRITE defined in line 11; used 2 times

Usage of this include

mman.h used 1 times
Last modified: 1986-06-05
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 746
Valid CSS Valid XHTML 1.0 Strict