hi. 2014-06-08 0:47 GMT+09:00 Martin Husemann <[email protected]>: > 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
thanks. I can find it. ( e.g. /usr/obj/lib/libc/chmod.S ) wrote in chmod.S : #include "SYS.h" RSYSCALL(chmod) wow... I'll read src/lib/libc/arch/i386/SYS.h . -- miwarin
