Changeset 7f9df7b9 in mainline for uspace/lib/posix/src/sys/mman.c
- Timestamp:
- 2018-01-22T22:42:57Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7a08c70
- Parents:
- e0f47f5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/src/sys/mman.c
re0f47f5 r7f9df7b9 33 33 */ 34 34 35 #define LIBPOSIX_INTERNAL36 #define __POSIX_DEF__(x) posix_##x37 38 35 #include "../internal/common.h" 39 36 #include <posix/sys/mman.h> … … 42 39 #include <posix/unistd.h> 43 40 44 void * posix_mmap(void *start, size_t length, int prot, int flags, int fd,45 __POSIX_DEF__(off_t)offset)41 void *mmap(void *start, size_t length, int prot, int flags, int fd, 42 off_t offset) 46 43 { 47 44 if (!start) … … 57 54 } 58 55 59 int posix_munmap(void *start, size_t length)56 int munmap(void *start, size_t length) 60 57 { 61 58 int rc = as_area_destroy(start);
Note:
See TracChangeset
for help on using the changeset viewer.