Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Nov 2001 20:54:46 -0800
From:      Bill Fenner <fenner@research.att.com>
To:        wes@softweyr.com
Cc:        mike@FreeBSD.org, freebsd-standards@bostonradio.org
Subject:   Re: strerror_r() implementation
Message-ID:  <200111300454.UAA06333@windsor.research.att.com>
References:   <20011125014216.A84711@espresso.q9media.com> <3C00A43B.9929E9C7@softweyr.com> <200111281854.KAA13574@windsor.research.att.com> <3C05BE3A.1DF1A539@softweyr.com>

next in thread | previous in thread | raw e-mail | index | archive | help

>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.

  Bill

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?200111300454.UAA06333>