delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/14/15:45:48

Message-Id: <3.0.16.19971014214406.2c573b3e@hem1.passagen.se>
Date: Tue, 14 Oct 1997 21:44:12 -0400
To: djgpp AT delorie DOT com
From: Peter Palotas <blizzar AT hem1 DOT passagen DOT se>
Subject: sprintf() string length?
Mime-Version: 1.0

Is there a way to find out the length of the string that sprintf() will
generate, without writing it anywhere? i.e. if I want to dynamically
allocate the storage space for the string this would be very good (read
essential) to know!

-- Peter Palotas alias Blizzar -- blizzar AT hem1 DOT passagen DOT se --

*****************************************************
* A brief description of DJGPP:                     *
* NEVER BEFORE HAS SO FEW DONE SO MUCH FOR SO MANY! *
*****************************************************

- Raw text -


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