home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / unix / armlinux / alpha / PARTITIONS / USR_GZ / usr / include / sys / mman.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-05-14  |  533 b   |  23 lines

  1. #ifndef _SYS_MMAN_H
  2. #define _SYS_MMAN_H
  3.  
  4. #include <features.h>
  5. #include <sys/types.h>
  6. #include <linux/mman.h>
  7.  
  8. #ifndef MAP_ANON
  9. #define MAP_ANON    MAP_ANONYMOUS       /* idem */
  10. #endif
  11. #define MAP_FILE    0x00       /* The 'normal' way: mapped from file */
  12.  
  13. __BEGIN_DECLS
  14.  
  15. extern caddr_t mmap __P((caddr_t __addr, size_t __len,
  16.         int __prot, int __flags, int __fd, off_t __off));
  17. extern int munmap __P((caddr_t __addr, size_t __len));
  18. extern int mprotect __P ((caddr_t __addr, size_t __len, int __prot));
  19.  
  20. __END_DECLS
  21.  
  22. #endif /* _SYS_MMAN_H */
  23.