Wes Peters 556f162ac0 Make strerror and strerror_r use sys_errlist[0] for errnum = 0. Be
more careful about reporting truncation with ERANGE in strerror_r.
Set errno to EINVAL for "unknown" errnum in strerror as required
by P1003.1-200x Draft June 14, 2001.

More carefully document the handling of strerrbuf when errors
(ERANGE, EINVAL) are encountered in strerror_r.

Reviewed by:	bde (ongoing discussion)
2001-12-07 06:28:58 +00:00
..
2001-09-30 21:06:00 +00:00
2001-07-09 23:12:23 +00:00
2001-09-30 21:41:46 +00:00
2001-09-30 22:02:43 +00:00
2001-09-30 22:04:49 +00:00
2001-09-30 22:15:15 +00:00
2001-11-21 09:25:14 +00:00
2001-09-30 22:02:43 +00:00