Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The parent comment talked about the syscall, not the library function.

   return((caddr_t)(long)__syscall((quad_t)SYS_mmap, addr, len, prot,
       flags, fd, 0, offset));
The first argument is the syscall number, the rest are the seven arguments in question.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: