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 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-10 17:36:58 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00
2001-11-07 19:55:16 +00:00