/uspace/trunk/libc/generic/mmap.c |
---|
36,11 → 36,8 |
#include <as.h> |
#include <unistd.h> |
void *mmap(void *start, size_t length, int prot, int flags, int fd, |
off_t offset) |
void *mmap(void *start, size_t length, int prot, int flags, int fd, off_t offset) |
{ |
int rc; |
if (!start) |
start = as_get_mappable_page(length); |
60,5 → 57,3 |
/** @} |
*/ |