Annotation of 42BSD/sys/h/mman.h, revision 1.1

1.1     ! root        1: /*     mman.h  6.1     83/07/29        */
        !             2: 
        !             3: /* protections are chosen from these bits, or-ed together */
        !             4: #define        PROT_READ       0x1             /* pages can be read */
        !             5: #define        PROT_WRITE      0x2             /* pages can be written */
        !             6: #define        PROT_EXEC       0x4             /* pages can be executed */
        !             7: 
        !             8: /* sharing types: choose either SHARED or PRIVATE */
        !             9: #define        MAP_SHARED      1               /* share changes */
        !            10: #define        MAP_PRIVATE     2               /* changes are private */
        !            11: 
        !            12: /* advice to madvise */
        !            13: #define        MADV_NORMAL     0               /* no further special treatment */
        !            14: #define        MADV_RANDOM     1               /* expect random page references */
        !            15: #define        MADV_SEQUENTIAL 2               /* expect sequential page references */
        !            16: #define        MADV_WILLNEED   3               /* will need these pages */
        !            17: #define        MADV_DONTNEED   4               /* dont need these pages */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.