home *** CD-ROM | disk | FTP | other *** search
- #ifndef _SYS_MMAN_H
- #define _SYS_MMAN_H
-
- #include <features.h>
- #include <sys/types.h>
- #include <linux/mman.h>
-
- #ifndef MAP_ANON
- #define MAP_ANON MAP_ANONYMOUS /* idem */
- #endif
- #define MAP_FILE 0x00 /* The 'normal' way: mapped from file */
-
- __BEGIN_DECLS
-
- extern caddr_t mmap __P((caddr_t __addr, size_t __len,
- int __prot, int __flags, int __fd, off_t __off));
- extern int munmap __P((caddr_t __addr, size_t __len));
- extern int mprotect __P ((caddr_t __addr, size_t __len, int __prot));
-
- __END_DECLS
-
- #endif /* _SYS_MMAN_H */
-