From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Sat, 22 Mar 2008 01:16:26 -0300 From: "Iruata Souza" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Subject: Re: [9fans] System call mania Topicbox-Message-UUID: 7dc45f28-ead3-11e9-9d60-3106f5b1d025 On 3/22/08, Pietro Gagliardi 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