]>
sourceware.org Git - newlib-cygwin.git/blob - winsup/cygwin/include/sys/mman.h
3 Copyright 1996, 1997, 1998, 2000, 2001 Red Hat, Inc.
5 This file is part of Cygwin.
7 This software is a copyrighted work licensed under the terms of the
8 Cygwin license. Please consult the file "CYGWIN_LICENSE" for
16 #endif /* __cplusplus */
19 #include <sys/types.h>
30 #define MAP_FIXED 0x10
31 #define MAP_ANONYMOUS 0x20
32 #define MAP_ANON MAP_ANONYMOUS
34 #define MAP_FAILED ((caddr_t)-1)
41 #define MS_INVALIDATE 4
43 #ifndef __INSIDE_CYGWIN__
44 extern void *mmap (void *__addr
, size_t __len
, int __prot
, int __flags
, int __fd
, off_t __off
);
46 extern int munmap (void *__addr
, size_t __len
);
47 extern int mprotect (void *__addr
, size_t __len
, int __prot
);
48 extern int msync (void *__addr
, size_t __len
, int __flags
);
52 #endif /* __cplusplus */
54 #endif /* _SYS_MMAN_H_ */
This page took 0.072108 seconds and 5 git commands to generate.