Changeset 2b3dd78 in mainline for uspace/lib/posix/src/sys/mman.c
- Timestamp:
- 2018-01-31T12:02:00Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5595841
- Parents:
- a0a9cc2 (diff), 14d789c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/src/sys/mman.c
ra0a9cc2 r2b3dd78 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.