Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Dec 2001 03:35:30 -0500
From:      Mike Barcroft <mike@FreeBSD.org>
To:        Wes Peters <wes@softweyr.com>
Cc:        Bill Fenner <fenner@research.att.com>, freebsd-standards@bostonradio.org
Subject:   Re: strerror_r() implementation
Message-ID:  <20011201033530.A35631@espresso.q9media.com>
In-Reply-To: <3C0882A9.EF07073@softweyr.com>; from wes@softweyr.com on Sat, Dec 01, 2001 at 12:11:37AM -0700
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> <20011130001910.C23064@espresso.q9media.com> <3C0882A9.EF07073@softweyr.com>

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

Wes Peters <wes@softweyr.com> writes:
> Room for the 40 characters for the number + 13 characters of message
> plus a trailing null plus 1 byte in case somebody miscounted?  Is
> anyone here actually reading the freaking CODE?

Assuming the number is a 64-bit signed integer the maximum number of
characters that is would require is 19.  The string "Unknown error: "
takes up 15 characters and 1 character for the terminating NUL.

19 + 15 + 1 = 35

Did I miss something?

Best regards,
Mike Barcroft

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



home | help

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