[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Good bits from Marcin's patch3
From: |
Ian Campbell |
Subject: |
Re: Good bits from Marcin's patch3 |
Date: |
Wed, 3 Apr 2002 14:02:55 +0100 |
User-agent: |
Mutt/1.2.5i |
On Wed, Apr 03, 2002 at 01:09:26PM +0200, BORBELY Zoltan wrote:
> Hello,
>
> On Wed, Apr 03, 2002 at 01:14:13PM +0300, leos wrote:
> > > [What is semantics of snprintf? Is it possible that result is not
> > > 0-terminated after snprintf?
> >
> > The man says: " The buffer is terminated with the null byte only if
> > space is available." (about the output buffer).
>
> What kind of *nix are you using? Maybe we should check for _broken_ snprintf
> implementation too...
Just to stick my oar in, but perhaps this would be useful...
http://www.gnu.org/software/ac-archive/C_Support/ac_func_snprintf.html
Ian.
- Re: Good bits from Marcin's patch3, Pawel Kot, 2002/04/03
- Re: Good bits from Marcin's patch3, Pawel Kot, 2002/04/03
- Re: Good bits from Marcin's patch3, Pawel Kot, 2002/04/03
- Re: Good bits from Marcin's patch3, Glenn Satchell, 2002/04/03
- Re: Good bits from Marcin's patch3, Pawel Kot, 2002/04/03