freebsd-nq/lib/libc
Mike Barcroft 5a98f074e6 Rearrange strerror() so that its itoa procedure can be used with
strerror_r().  Doing this allows us to ensure that strerror_r() always
fills the supplied buffer regardless of EINVAL or ERANGE errors.

strerror()'s semantics have changed slightly such that an argument of
0 is now considered invalid and errno is set to EINVAL.

Remove internal regression test for strerror() and strerror_r().  This
will be reincarnated in src/tools/regression/lib/libc/string.

In strerror(3), add a comment about strerror()'s bogus return type.

PR:	44356
2002-12-18 16:53:31 +00:00
..
alpha libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00
amd64 libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00
compat-43 mdoc(7) police: "The .Fn function". 2002-12-18 12:45:11 +00:00
db mdoc(7) police: "The .Fn function". 2002-12-18 12:45:11 +00:00
gen mdoc(7) police: Fixed abuses of the .Ar and .Em macros. 2002-12-18 13:33:04 +00:00
gmon mdoc(7) police: Fixed abuses of the .Ar and .Em macros. 2002-12-18 13:33:04 +00:00
i386 mdoc(7) police: Fixed abuses of the .Ar and .Em macros. 2002-12-18 13:33:04 +00:00
ia64 Sort SRCS. 2002-11-16 01:41:33 +00:00
include Argh, change declaration of two-dimensional array so that it actually 2002-11-13 21:55:22 +00:00
locale mdoc(7) police: Fixed abuses of the .Ar and .Em macros. 2002-12-18 13:33:04 +00:00
net mdoc(7) police: Fixed abuses of the .Ar and .Em macros. 2002-12-18 13:33:04 +00:00
nls libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00
posix1e mdoc(7) police: "The .Fn function". 2002-12-18 12:45:11 +00:00
powerpc Minimal libc for PowerPC. 2002-12-04 07:25:14 +00:00
quad libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00
regex mdoc(7) police: "The .Fn function". 2002-12-18 12:45:11 +00:00
rpc mdoc(7) police: "The .Fn function". 2002-12-18 12:45:11 +00:00
sparc64 libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00
stdio mdoc(7) police: Fixed abuses of the .Ar and .Em macros. 2002-12-18 13:33:04 +00:00
stdlib mdoc(7) police: Fixed abuses of the .Ar and .Em macros. 2002-12-18 13:33:04 +00:00
stdtime mdoc(7) police: "The .Fn function". 2002-12-18 12:45:11 +00:00
string Rearrange strerror() so that its itoa procedure can be used with 2002-12-18 16:53:31 +00:00
sys mdoc(7) police: Fixed abuses of the .Ar and .Em macros. 2002-12-18 13:33:04 +00:00
uuid mdoc(7) police: nits. 2002-12-09 12:47:18 +00:00
xdr mdoc(7) police: "The .Fn function". 2002-12-18 12:45:11 +00:00
yp libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00
Makefile libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00