top | item 26006504

(no title)

comfydragon | 5 years ago

But, that link shows mmap taking 6 arguments?

discuss

order

ainar-g|5 years ago

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.