9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Pietro Gagliardi <pietro10@mac.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] System call mania
Date: Sat, 22 Mar 2008 00:33:48 -0400	[thread overview]
Message-ID: <EA43D9C7-8FE0-4728-9524-757E7ED56074@mac.com> (raw)
In-Reply-To: <d1c554290803212116m6368b096td6a50fe1ae7fe948@mail.gmail.com>

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 <pietro10@mac.com> 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	other threads:[~2008-03-22  4:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-22  3:01 Pietro Gagliardi
2008-03-22  4:16 ` Iruata Souza
2008-03-22  4:33   ` Pietro Gagliardi [this message]
2008-03-22  4:41     ` Iruata Souza
2008-03-22  4:44       ` Pietro Gagliardi
2008-03-22  5:32         ` ron minnich
2008-03-22 13:02           ` Pietro Gagliardi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=EA43D9C7-8FE0-4728-9524-757E7ED56074@mac.com \
    --to=pietro10@mac.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).