Non portable code

Bob Kline bkline at rksystems.com
Wed Oct 2 14:45:51 EDT 2002


On Wed, 2 Oct 2002, Lowden, James K wrote:

> For the record, Microsoft ships:
>
> int _vsnprintf( char *buffer, size_t count, const char *format, va_list
> argptr );
>
> Not a few ANSI-standard functions have an underscore prepended to
> them in Microsoft's implementation.  I've never seen their
> rationale.

I assume it's just a question of lagging behind the standards committees
(vsnprintf wasn't in the original ANSI C standard, and it probably still
isn't part of the standard C++ library).  I don't think you'll find many
vendors putting out documents with the word "rationale" in their titles
to explain why their products are out of date. :->}

-- 
Bob Kline
mailto:bkline at rksystems.com
http://www.rksystems.com




More information about the FreeTDS mailing list