At 6/4/2004 07:29 AM, Jason Teagle wrote:

>Anyone know a comprehensive place to get source code for standard C library
>functions? I'm looking for sprintf() particularly. The SPRINTF.C file
>installed as part of VC6 basically makes a call to somewhere else for the
>bulk of its thing, I was kind of hoping for a comprehensive function where
>the bulk of the workings was contained right there within the function... a
>GNU public version, possibly? A Google has just given a needle in a
>haystack, I've started wading through but it's mostly references to /using/
>sprintf()... ugh!

Take a look at output.c

That has a function _output that appears to be the function called by printf, sprintf, fprintf etc.

It's got all the switches and character parsing in it.

Phil Daley          < AutoDesk >
http://www.conknet.com/~p_daley




_______________________________________________ msvc mailing list [EMAIL PROTECTED] See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.

Reply via email to