Complete.Org: Mailing Lists: Archives: freeciv-dev: August 1999:
Re: [Freeciv-Dev] snprintf, again
Home

Re: [Freeciv-Dev] snprintf, again

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Alex Zepeda <jazepeda@xxxxxxxxxxx>, David Pfitzner <dwp@xxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: Re: [Freeciv-Dev] snprintf, again
From: Andy Black <ablack@xxxxxxxxxxxxxx>
Date: Wed, 25 Aug 1999 19:34:13 -0600

At 1:05 PM -0700 8/25/99, Alex Zepeda wrote:
>On Wed, 25 Aug 1999, David Pfitzner wrote:
>

[snip]

>
>I am curious though, what platforms don't have snprintf, and which have
>vsnprintf but no snprintf?
>

well, codewarior has the folowing variations in the stdio header
fprintf
printf
sprintf
vfprintf
vprintf
vsprintf


Andy

>> Also a problem is for freeciv-implemented "printf-like" functions
>> which use vsprintf() internally, where its then a further hassle
>> to be very careful with all the invocations of such functions.
>
>Have I mentioned, I think printf and the printf family are evil?
>
>Anyways, I think I'll start looking at what should be using snprintf and
>vsnprintf, since I've got a box with snprintf in its libc :^).  Once that
>is done, I figure, any implementation could be dropped in there.  Or has
>this already been done?
>
>- alex




[Prev in Thread] Current Thread [Next in Thread]