Follow-up to this question. I'm writing my own (very basic) standard library (compiling with the -nostdlib
gcc option). It seems that the base of almost everything is write
, read
, creat
, open
, close
, etc.
It's my understanding that glibc simply uses stubs, SYSCALL_INTERNAL
macros, etc. to provide those functions. I'm not using glibc and I don't want to get very complicated.
My question. How can I call Unix low-level functions such as write
and read
without glibc?