Changeset 2057572 in mainline for uspace/libc/generic/mman.c
- Timestamp:
- 2007-03-27T23:40:25Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 399ece9
- Parents:
- 8d37a06
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/libc/generic/mman.c
r8d37a06 r2057572 37 37 #include <unistd.h> 38 38 39 void *mmap(void *start, size_t length, int prot, int flags, int fd, off_t offset) 39 void *mmap(void *start, size_t length, int prot, int flags, int fd, 40 off_t offset) 40 41 { 41 42 if (!start) 42 start = as_get_mappable_page(length , 0);43 start = as_get_mappable_page(length); 43 44 44 45 // if (! ((flags & MAP_SHARED) ^ (flags & MAP_PRIVATE)))
Note:
See TracChangeset
for help on using the changeset viewer.