Fork us on GitHub Follow us on Facebook Follow us on Twitter

Ignore:
Timestamp:
2014-02-11T04:38:26Z (8 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
89dcf93
Parents:
b6e481b
Message:

Remove the temptation to use mmap() and munmap() in native code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/include/posix/sys/mman.h

    rb6e481b r2463df9  
    4040#endif
    4141
    42 #include "sys/types.h"
     42#include "types.h"
    4343#include <abi/mm/as.h>
    4444
     
    6060#define PROT_EXEC  AS_AREA_EXEC
    6161
    62 extern void *mmap(void *start, size_t length, int prot, int flags, int fd,
     62extern void *
     63__POSIX_DEF__(mmap)(void *start, size_t length, int prot, int flags, int fd,
    6364    __POSIX_DEF__(off_t) offset);
    64 extern int munmap(void *start, size_t length);
     65extern int __POSIX_DEF__(munmap)(void *start, size_t length);
    6566
    6667
Note: See TracChangeset for help on using the changeset viewer.