delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/06/09/16:39:32

Sender: nate AT cartsys DOT com
Message-ID: <375ED0BA.D0BDDB08@cartsys.com>
Date: Wed, 09 Jun 1999 13:38:18 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.10 i586)
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: {v,}snprintf.c ???
References: <199906092004 DOT QAA18356 AT mccoy2 DOT ECE DOT McGill DOT CA>
Reply-To: djgpp-workers AT delorie DOT com

Alain Magloire wrote:
> 
> Bonjour
> 
>   I was playing with djgpp this afternoon and notice snprintf()
> was missing.  It's not ANSI  not even POSIX, I beleive. But more and
> more apps use it because of the security that it provides, sprintf() and
> vsprintf() provide no buffer checks.

Excellent.  I've been meaning to write them for a while but never got
around to it.

I vote strongly for their inclusion.
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


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