Does getc(3) use the read(2) syscall?

Stefan Midjich swehack at gmail.com
Wed Feb 3 11:26:04 UTC 2010


I'm having trouble looking this function up in the source tree, the trail
seems to end at __sys_read which has a bunch of prototypes but i can't find
the actual function code.

So my question is primarily, does getc use the read system call eventually?

But i would also love it if someone could show me where __sys_read is
defined.

Thanks in advance for any information!

-- 


Med vänliga hälsningar / With kind regards

Stefan Midjich
http://swehack.se/cv
https://www.swehack.se/cv


More information about the freebsd-hackers mailing list