www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/09/19/07:15:14

From: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Fw: snprintf and vsnprintf
Date: Wed, 18 Sep 2002 12:50:18 CDT
Organization: Rice University, Houston TX
Lines: 12
Message-ID: <3d88bcda.sandmann@clio.rice.edu>
References: <BDD73AE8AEE3EF438E07420C2600E9F65C913C AT qtiexch0 DOT qgraph DOT com>
NNTP-Posting-Host: clio.rice.edu
X-Trace: joe.rice.edu 1032371895 24525 128.42.105.3 (18 Sep 2002 17:58:15 GMT)
X-Complaints-To: abuse AT rice DOT edu
NNTP-Posting-Date: 18 Sep 2002 17:58:15 GMT
X-NewsEditor: ED-1.5.9
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> The lic.a documentation states that snprintf and vsnprintf are available,
> but I can find no reference to them in the <stdio.h> or the <stdarg.h>
> header files (or any other header files for that matter). Attempting to use
> either of them gives the expected "undefined" error. What gives?

I believe these routines are only available in the development tree
(not in any release).

You could try the current build test zips and be part of the 2.04 test
team, or you could try a simple define:

#define snprintf(a,b,c,d) sprintf(a,c,d)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019