Date: Thu, 6 Dec 2001 22:28:58 -0800 (PST) From: Wes Peters <wes@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/string strerror.3 strerror.c Message-ID: <200112070628.fB76SwI71436@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
wes 2001/12/06 22:28:58 PST Modified files: lib/libc/string strerror.3 strerror.c Log: 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) Revision Changes Path 1.15 +12 -3 src/lib/libc/string/strerror.3 1.7 +20 -3 src/lib/libc/string/strerror.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112070628.fB76SwI71436>