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-03-22 21:53:29 +00:00
2002-03-21 18:49:23 +00:00
2002-03-21 18:49:23 +00:00
2002-03-21 18:49:23 +00:00
2002-03-22 21:53:29 +00:00
2002-03-22 21:53:29 +00:00
2002-10-03 19:39:20 +00:00
2002-03-21 18:49:23 +00:00
2002-03-22 21:53:29 +00:00
2002-03-21 18:49:23 +00:00
2001-11-07 19:55:16 +00:00
2002-12-18 12:45:11 +00:00
2002-03-21 18:49:23 +00:00
2001-11-07 19:55:16 +00:00
2002-03-21 18:49:23 +00:00
2002-12-18 12:45:11 +00:00
2002-03-21 18:49:23 +00:00
2002-03-21 18:49:23 +00:00
2002-03-21 18:49:23 +00:00
2002-03-21 18:49:23 +00:00
2001-11-07 19:55:16 +00:00
2002-03-21 18:49:23 +00:00
2002-03-22 21:53:29 +00:00
2002-11-29 15:57:50 +00:00
2002-03-21 18:49:23 +00:00
2002-03-21 18:49:23 +00:00
2002-03-21 18:49:23 +00:00
2002-03-21 18:49:23 +00:00
2002-12-18 12:45:11 +00:00
2002-12-09 14:04:05 +00:00
2002-10-24 02:48:45 +00:00
2002-12-09 14:04:05 +00:00
2002-12-09 14:04:05 +00:00