printf

Brian Dessent brian@dessent.net
Wed Aug 1 21:41:00 GMT 2007


"Frederich, Eric P21322" wrote:

> Do vfprintf statements compiled on Cygwin go through libiberty which
> then calls fprintf, or is there another vfprintf in whatever C library
> I'm linking against (either Cygwin's or Microsoft's)?

No, you're getting confused by libiberty.  It is used internally *in*
gcc as a portability aide for gcc itself.  When you call printf in a
Cygwin program, the implementation is in cygwin1.dll, and Cygwin
implements this internally via newlib.  Look at the Cygwin source (which
includes the newlib source) if you want to see how it's implemented, not
the gcc source.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list