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-11-07 22:12:52 +00:00
2001-12-04 12:32:35 +00:00
2001-12-05 16:33:11 +00:00
2001-11-19 00:19:49 +00:00
2001-12-07 03:25:26 +00:00