freebsd-skq/lib/libc/string
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
..
bcmp.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
bcmp.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
bcopy.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
bcopy.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
bstring.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
bzero.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
bzero.c Added some 2-line source files to get a direct correspondence 1997-10-15 15:27:19 +00:00
ffs.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
ffs.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
index.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
index.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
Makefile.inc Must link strerror manpage to strerror_r. 2001-11-27 07:57:31 +00:00
memccpy.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
memccpy.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
memchr.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
memchr.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
memcmp.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
memcmp.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
memcpy.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
memcpy.c Added some 2-line source files to get a direct correspondence 1997-10-15 15:27:19 +00:00
memmove.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
memmove.c Added some 2-line source files to get a direct correspondence 1997-10-15 15:27:19 +00:00
memset.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
memset.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
rindex.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
rindex.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
strcasecmp.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
strcasecmp.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
strcasestr.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
strcat.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
strcat.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
strchr.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
strchr.c Added some 2-line source files to get a direct correspondence 1997-10-15 15:27:19 +00:00
strcmp.3 Note that strncmp() will not compare characters after a NUL character. 2001-10-11 17:02:44 +00:00
strcmp.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
strcoll.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
strcoll.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
strcpy.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
strcpy.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
strcspn.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
strcspn.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
strdup.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
strdup.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
strerror.3 Make strerror and strerror_r use sys_errlist[0] for errnum = 0. Be 2001-12-07 06:28:58 +00:00
strerror.c Make strerror and strerror_r use sys_errlist[0] for errnum = 0. Be 2001-12-07 06:28:58 +00:00
string.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
strlcat.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
strlcpy.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
strlcpy.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
strlen.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
strlen.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
strmode.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
strmode.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
strncat.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
strncmp.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
strncpy.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
strnstr.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
strpbrk.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
strpbrk.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
strrchr.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
strrchr.c Added some 2-line source files to get a direct correspondence 1997-10-15 15:27:19 +00:00
strsep.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
strsep.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
strsignal.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
strspn.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
strspn.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
strstr.3 mdoc(7) police: minor markup and spelling fixes. 2001-11-20 14:11:07 +00:00
strstr.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
strtok.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
strtok.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
strxfrm.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
strxfrm.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
swab.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
swab.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
wcscat.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
wcschr.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
wcscmp.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
wcscpy.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
wcscspn.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
wcslcat.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
wcslcpy.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
wcslen.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
wcsncat.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
wcsncmp.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
wcsncpy.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
wcspbrk.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
wcsrchr.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
wcsspn.c Increment the loop counter. 2001-11-10 17:36:58 +00:00
wcsstr.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
wcswidth.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
wmemchr.3 Fixed syntax errors in synopsis. The restrict keyword doesn't exist yet. 2001-10-03 05:19:47 +00:00
wmemchr.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
wmemcmp.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
wmemcpy.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
wmemmove.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
wmemset.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00