mmap
void * mmap(void *addr, size_t len, int prot, int flags, int fd, off_t offset) #include #include #include register_t __syscall(quad_t, ...); /* * This function provides 64-bit offset padding that * is not supplied by GCC 1.X but is supplied by GCC 2.X. */ void * mmap(void *addr, size_t len, int prot, int flags, int fd, off_t offset) { return((void *)__syscall((quad_t)SYS_mmap, addr, len, prot, f..
2016. 7. 9.