Subject: Re: How do I create a include-file to match my new syscall? (fwd)
To: None <espenjo@unik.no>
From: Andrew Brown <atatat@atatdot.net>
List: tech-kern
Date: 03/07/2000 22:49:27
>> Can anybody give me a hint on where I should look? Which directory
>> should I put my .h file for it to compile correctly and end up in
>> /usr/include. How should my .h file look. Any good examples?
>
>Have a look at src/lib/libc, it contains all the stubs for system calls
>(plus a lot of other stuff :-).

i actually did this last year for some silly reason.  :)

here's what was suggested to me as a reference

   http://www.netbsd.org/Documentation/kernel/programming.html#adding_a_system_call

and what i actually ended up doing

   http://mail-index.netbsd.org/current-users/1999/08/08/0003.html

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
andrew@crossbar.com       * "information is power -- share the wealth."