That confirmed one suspicion: the REAL calls are those who are simply named in /sys/src/libc/9syscall/sys.h, and that the USER-LEVEL calls are a big mess in libc. Thanks!

On Mar 22, 2008, at 12:16 AM, Iruata Souza wrote:

On 3/22/08, Pietro Gagliardi <[EMAIL PROTECTED]> wrote:
Hello. I was recently looking in libc when I noticed a few things
 about system calls:

 1) brk and sbrk are implemented atop brk_, which is not documented
 2) the seek function seems to be a system call, but the alpha folder
 defines a function seek which calls _seek
 3) Some items in that file have underscores, like BRK_ and _READ

 This leads me to the following question: what exactly are the system
 calls in Plan 9?


grep -i syscall /sys/src/9/port

iru



Reply via email to