Sender: tim AT picard DOT skynet DOT be Message-ID: <3AF690E5.BBF60468@falconsoft.be> Date: Mon, 07 May 2001 14:11:17 +0200 From: Tim Van Holder Organization: Falcon Software NV X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.16-3 i686) X-Accept-Language: en, nl-BE, nl MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: snprintf() References: <3AF59D48 DOT 27972D7 AT jps DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Dennis Yelle wrote: > > Does djgpp supply snprintf()? > I can't find it in info. > The header file \DJGPP\LANG\CXX\LIBIOP.H > contains extern int _IO_vsnprintf __P () > but the strange name suggests to me that I am not > supposed to call it directly. Also, it is not > in info either. > > Is it OK for me to call _IO_vsnprintf directly? > Is there anything I need to look out for if I do that? _IO_vsnprintf is part of the C-stdio-with-streams interface of the C++ library; basically it has all stdio functions (and variables like stdin, stdout, stderr), but with an _IO_ prefix, and internally using streams. Using _IO_vsnprintf by itself should be OK, as it uses a string, not a file. Checking the sources for gcc 3, I still see the declaration for it, but there doesn't seem to be a source file that actually defines it; so depending on it may be a bad idea. -- Tim Van Holder - Falcon Software N.V. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= This message was posted using plain text. I do not endorse any products or services that may be hyperlinked to this message.