newlib-cygwin/newlib/libc/string
Eric Blake 7c10a76dec strerror_r: provide POSIX implementation
* libc/include/string.h (strerror_r): Update declaration.
* libc/string/strerror.c (strerror): Update documentation.
* libc/string/strerror_r.c (strerror_r): Always return
NUL-terminated string; don't overwrite too-short buf.
* libc/string/xpg_strerror_r.c (__xpg_strerror_r): Implement POSIX
variant.
* libc/string/Makefile.am (GENERAL_SOURCES): Build new file.
* libc/string/Makefile.in: Regenerate.
2011-02-10 16:48:18 +00:00
..
Makefile.am strerror_r: provide POSIX implementation 2011-02-10 16:48:18 +00:00
Makefile.in strerror_r: provide POSIX implementation 2011-02-10 16:48:18 +00:00
bcmp.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
bcopy.c
bzero.c
index.c
local.h * libc/string/wcwidth.c: Optimize for speed. 2009-06-03 19:28:22 +00:00
memccpy.c 2010-09-21 Craig Howland <howland@LGSInnovations.com> 2010-09-22 03:15:07 +00:00
memchr.c 2008-05-26 Eric Blake <ebb9@byu.net> 2008-05-26 23:31:08 +00:00
memcmp.c 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org> 2005-03-06 20:40:05 +00:00
memcpy.c 2010-09-21 Craig Howland <howland@LGSInnovations.com> 2010-09-22 03:15:07 +00:00
memmem.c Make strstr and strcasestr O(n), not O(n^2); add memmem. 2008-01-12 04:25:55 +00:00
memmove.c 2010-09-21 Craig Howland <howland@LGSInnovations.com> 2010-09-22 03:15:07 +00:00
mempcpy.c 2010-09-21 Craig Howland <howland@LGSInnovations.com> 2010-09-22 03:15:07 +00:00
memset.c 2008-05-27 Jeff Johnston <jjohnstn@redhat.com> 2008-05-27 18:44:40 +00:00
rindex.c
stpcpy.c * libc/include/string.h: Add prototypes for stpcpy and stpncpy. 2007-06-28 17:07:23 +00:00
stpncpy.c * libc/include/string.h: Add prototypes for stpcpy and stpncpy. 2007-06-28 17:07:23 +00:00
str-two-way.h * lib/str-two-way.h (two_way_long_needle): Avoid bug with long 2010-10-06 09:29:35 +00:00
strcasecmp.c 2009-04-23 Mike Burgess <wizardsguild@earthlink.net> 2009-04-23 18:11:22 +00:00
strcasestr.c Make strstr and strcasestr O(n), not O(n^2); add memmem. 2008-01-12 04:25:55 +00:00
strcat.c
strchr.c Optimize the generic strchr. 2008-05-22 02:31:46 +00:00
strcmp.c
strcoll.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:33:23 +00:00
strcpy.c Avoid more compiler warnings. 2007-05-29 21:26:59 +00:00
strcspn.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
strdup.c
strdup_r.c
strerror.c strerror_r: provide POSIX implementation 2011-02-10 16:48:18 +00:00
strerror_r.c strerror_r: provide POSIX implementation 2011-02-10 16:48:18 +00:00
strings.tex 2010-05-11 Joel Sherrill <joel.sherrill@oarcorp.com> 2010-05-11 20:27:20 +00:00
strlcat.c
strlcpy.c
strlen.c 2008-05-26 Eric Blake <ebb9@byu.net> 2008-05-26 22:56:14 +00:00
strlwr.c 2009-04-23 Mike Burgess <wizardsguild@earthlink.net> 2009-04-23 18:11:22 +00:00
strncasecmp.c 2009-04-23 Mike Burgess <wizardsguild@earthlink.net> 2009-04-23 18:11:22 +00:00
strncat.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
strncmp.c
strncpy.c
strndup.c
strndup_r.c 2006-02-13 Jeff Johnston <jjohnstn@redhat.com> 2006-02-13 17:27:50 +00:00
strnlen.c 2006-02-13 Jeff Johnston <jjohnstn@redhat.com> 2006-02-13 17:27:50 +00:00
strpbrk.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
strrchr.c Avoid more compiler warnings. 2007-05-29 21:26:59 +00:00
strsep.c
strsignal.c * libc/string/strsignal.c (strsignal): Avoid duplicate case statement where 2010-05-18 14:52:38 +00:00
strspn.c
strstr.c Make strstr and strcasestr O(n), not O(n^2); add memmem. 2008-01-12 04:25:55 +00:00
strtok.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
strtok_r.c
strupr.c 2009-04-23 Mike Burgess <wizardsguild@earthlink.net> 2009-04-23 18:11:22 +00:00
strxfrm.c
swab.c
u_strerr.c
wcpcpy.c * libc/include/wchar.h: Add prototypes for wcpcpy and wcpncpy. 2007-12-19 17:33:12 +00:00
wcpncpy.c * libc/include/wchar.h: Add prototypes for wcpcpy and wcpncpy. 2007-12-19 17:33:12 +00:00
wcscasecmp.c * libc/include/wchar.h (wcscasecmp, wcsncasecmp): Declare. 2009-03-11 12:57:53 +00:00
wcscat.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
wcschr.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
wcscmp.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
wcscoll.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:33:23 +00:00
wcscpy.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
wcscspn.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
wcsdup.c 2009-03-25 Jeff Johnston <jjohnstn@redhat.com> 2009-03-25 17:57:11 +00:00
wcslcat.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:33:23 +00:00
wcslcpy.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:33:23 +00:00
wcslen.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
wcsncasecmp.c * libc/include/wchar.h (wcscasecmp, wcsncasecmp): Declare. 2009-03-11 12:57:53 +00:00
wcsncat.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
wcsncmp.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
wcsncpy.c 2009-08-17 Craig Howland <howland@LGSInnovations.com> 2009-08-18 16:03:06 +00:00
wcsnlen.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:33:23 +00:00
wcspbrk.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
wcsrchr.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
wcsspn.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
wcsstr.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:33:23 +00:00
wcstok.c 2008-12-12 Craig Howland <howland@LGSInnovations.com> 2008-12-12 19:47:05 +00:00
wcstrings.tex * libc/time/time.tex (wcsftime.def): Include. 2009-03-12 15:34:57 +00:00
wcswidth.c * libc/string/local.h: New file. 2009-05-15 11:40:28 +00:00
wcsxfrm.c * libc/include/wchar.h: Add prototype for wcsxfrm. 2007-07-04 16:18:34 +00:00
wcwidth.c * libc/string/wcwidth.c: Optimize for speed. 2009-06-03 19:28:22 +00:00
wmemchr.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:33:23 +00:00
wmemcmp.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:33:23 +00:00
wmemcpy.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:33:23 +00:00
wmemmove.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:33:23 +00:00
wmemset.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:33:23 +00:00
xpg_strerror_r.c strerror_r: provide POSIX implementation 2011-02-10 16:48:18 +00:00