Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2001 00:19:10 -0500
From:      Mike Barcroft <mike@FreeBSD.org>
To:        Bill Fenner <fenner@research.att.com>
Cc:        wes@softweyr.com, freebsd-standards@bostonradio.org
Subject:   Re: strerror_r() implementation
Message-ID:  <20011130001910.C23064@espresso.q9media.com>
In-Reply-To: <200111300454.UAA06333@windsor.research.att.com>; from fenner@research.att.com on Thu, Nov 29, 2001 at 08:54:46PM -0800
References:  <20011125014216.A84711@espresso.q9media.com> <3C00A43B.9929E9C7@softweyr.com> <200111281854.KAA13574@windsor.research.att.com> <3C05BE3A.1DF1A539@softweyr.com> <200111300454.UAA06333@windsor.research.att.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Bill Fenner <fenner@research.att.com> writes:
> >Ah, I see the confusion.  The size of ebuf in strerror doesn't need to
> >be big enough to hold messages from sys_errlist, it only needs to be
> >large enough to hold "Unknown error: " plus the length of a 64-bit
> >number in ascii.
> 
> Right.  40 was enough for this in rev 1.4; I dunno why it has to be
> 55 now.  I don't feel particularly strongly about the details of this,
> though.

Room for a 128-bit number "+ slop"?

Best regards,
Mike Barcroft

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-standards" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011130001910.C23064>