PRINTF, STDOUT

Christopher Olsen cwolsen at domainatlantic.com
Thu Nov 30 20:01:36 UTC 2006


Hello,

I've been tracing the printf function from the FreeBSD 6.x libc... I'm trying 
to figure out what mechanism transfers the data from the processes FILE to 
the system so it's written out to the screen... 

>From my findings I get to a function __sfvwrite(FILE,buf) {}

however this just copies into the FILE's buffer and there are no systems 
between this point and returning back from the printf call

-Christopher


More information about the freebsd-hackers mailing list