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
..
2002-12-18 12:45:11 +00:00
2002-11-16 01:41:33 +00:00
2002-12-04 07:25:14 +00:00
2002-12-18 12:45:11 +00:00
2002-12-18 12:45:11 +00:00
2002-12-09 12:47:18 +00:00
2002-12-18 12:45:11 +00:00