From: Charles Sandmann 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: 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 or the > 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)