[Zlib-devel] Re: snprintf

Mark Adler mark.adler at quest.jpl.nasa.gov
Sun Mar 16 19:25:01 EST 2003


On Thursday, March 13, 2003, at 04:58  AM, Nelson H. F. Beebe wrote:
> One possible solution is to provide a private fallback version of
> snprintf.  I did a Web search, found many, and selected this one:
>
> 	http://www.ijs.si/software/snprintf/

Providing an alternate vsnprintf() directly is an assured solution, 
however I don't want to include that as part of zlib.  It's large, 
complicated, will have it's own portability issues that I'd get 
questions about, and it's relatively uncommon to not have vsnprintf().  
This is rather more involved than providing an alternate memcpy().  I 
have however pointed to the above link in the FAQ.

mark





More information about the Zlib-devel mailing list