NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: where syscall(?) in libc



On Sun, Jun 08, 2014 at 12:27:30AM +0900, ???( Miwa Susumu ) wrote:
> I think libc implmented system call (e.g. chmod(2)).

The assembler file is generated on the fly when building libc, 
you can find them in the libc objdir after building. Very boring.

The main magic, and probably what you are actually looking for, are the
macros in src/lib/libc/arch/i386/SYS.h

Martin


Home | Main Index | Thread Index | Old Index