home *** CD-ROM | disk | FTP | other *** search
- /*
- * $Header: /ax/networking:include/sys/mman.h:networking 1.1 $
- * $Source: /ax/networking:include/sys/mman.h: $
- *
- * Copyright (c) 1988 Acorn Computers Ltd., Cambridge, England
- *
- * $Log: mman.h,v $
- * Revision 1.1 95/01/11 10:19:22 kwelton
- * Initial revision
- *
- * Revision 1.3 88/06/17 20:19:46 beta
- * Acorn Unix initial beta version
- *
- */
- /* @(#)mman.h 1.2 87/05/15 3.2/4.3NFSSRC */
- /*
- * Copyright (c) 1982, 1986 Regents of the University of California.
- * All rights reserved. The Berkeley software License Agreement
- * specifies the terms and conditions for redistribution.
- *
- * @(#)mman.h 7.1 (Berkeley) 6/4/86
- */
-
- /* protections are chosen from these bits, or-ed together */
- #define PROT_READ 0x1 /* pages can be read */
- #define PROT_WRITE 0x2 /* pages can be written */
- #define PROT_EXEC 0x4 /* pages can be executed */
-
- /* sharing types: choose either SHARED or PRIVATE */
- #define MAP_SHARED 1 /* share changes */
- #define MAP_PRIVATE 2 /* changes are private */
-
- /* advice to madvise */
- #define MADV_NORMAL 0 /* no further special treatment */
- #define MADV_RANDOM 1 /* expect random page references */
- #define MADV_SEQUENTIAL 2 /* expect sequential page references */
- #define MADV_WILLNEED 3 /* will need these pages */
- #define MADV_DONTNEED 4 /* dont need these pages */
-
- /* EOF mman.h */
-