musl/src/string
Rich Felker 400c5e5c83 use restrict everywhere it's required by c99 and/or posix 2008
to deal with the fact that the public headers may be used with pre-c99
compilers, __restrict is used in place of restrict, and defined
appropriately for any supported compiler. we also avoid the form
[restrict] since older versions of gcc rejected it due to a bug in the
original c99 standard, and instead use the form *restrict.
2012-09-06 22:44:55 -04:00
..
i386 memcpy asm for i386 and x86_64 2012-08-11 21:33:13 -04:00
x86_64 memcpy asm for i386 and x86_64 2012-08-11 21:33:13 -04:00
bcmp.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
bcopy.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
bzero.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
index.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
memccpy.c use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
memchr.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
memcmp.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
memcpy.c use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
memmove.c remove dependency of memmove on memcpy direction 2012-09-06 20:25:48 -04:00
mempcpy.c optimize mempcpy to minimize need for data saved across the call 2012-07-31 21:18:17 -04:00
memrchr.c implement memrchr (nonstandard) and optimize strrchr in terms of it 2011-04-13 08:36:29 -04:00
memset.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
rindex.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
stpcpy.c use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
stpncpy.c use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
strcasecmp.c fix all implicit conversion between signed/unsigned pointers 2011-03-25 16:34:03 -04:00
strcasestr.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
strcat.c use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
strchr.c fix misaligned read on early string termination in strchr 2011-04-05 09:27:41 -04:00
strchrnul.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
strcmp.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
strcpy.c use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
strcspn.c fix all implicit conversion between signed/unsigned pointers 2011-03-25 16:34:03 -04:00
strdup.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
strerror_r.c make strerror_r behave nicer on failure 2012-06-20 12:07:18 -04:00
strlcat.c more header cleanup and conformance fixes - string.h 2011-02-14 20:53:15 -05:00
strlcpy.c fix misplaced *'s in string functions (harmless) 2011-04-07 16:19:30 -04:00
strlen.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
strncasecmp.c fix all implicit conversion between signed/unsigned pointers 2011-03-25 16:34:03 -04:00
strncat.c use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
strncmp.c fix all implicit conversion between signed/unsigned pointers 2011-03-25 16:34:03 -04:00
strncpy.c use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
strndup.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
strnlen.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
strpbrk.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
strrchr.c fix failure of strrchr(str, 0) 2012-05-26 18:01:34 -04:00
strsep.c fix prototype for strsep 2011-04-06 14:28:29 -04:00
strsignal.c fix missing prototype for strsignal 2011-02-26 23:50:26 -05:00
strspn.c fix all implicit conversion between signed/unsigned pointers 2011-03-25 16:34:03 -04:00
strstr.c remove unused but buggy code from strstr.c 2012-08-11 18:40:33 -04:00
strtok.c use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
strtok_r.c use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
strverscmp.c add dummied strverscmp (obnoxious GNU function) 2011-09-11 22:45:56 -04:00
swab.c use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
wcpcpy.c use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
wcpncpy.c use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
wcscasecmp.c add all missing wchar functions except floating point parsers 2012-03-01 23:24:45 -05:00
wcscasecmp_l.c add all missing wchar functions except floating point parsers 2012-03-01 23:24:45 -05:00
wcscat.c use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
wcschr.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
wcscmp.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
wcscpy.c use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
wcscspn.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
wcsdup.c add all missing wchar functions except floating point parsers 2012-03-01 23:24:45 -05:00
wcslen.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
wcsncasecmp.c add all missing wchar functions except floating point parsers 2012-03-01 23:24:45 -05:00
wcsncasecmp_l.c add all missing wchar functions except floating point parsers 2012-03-01 23:24:45 -05:00
wcsncat.c use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
wcsncmp.c fix overrun (n essentially ignored) in wcsncmp 2012-05-26 18:04:17 -04:00
wcsncpy.c use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
wcsnlen.c add all missing wchar functions except floating point parsers 2012-03-01 23:24:45 -05:00
wcspbrk.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
wcsrchr.c fix wrong type for wcsrchr argument 2 2011-06-13 14:06:04 -04:00
wcsspn.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
wcsstr.c use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
wcstok.c use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
wcswcs.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
wmemchr.c fix broken wmemchr (unbounded search) 2011-03-17 22:38:45 -04:00
wmemcmp.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
wmemcpy.c use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
wmemmove.c remove dependency of wmemmove on wmemcpy direction 2012-09-06 20:28:42 -04:00
wmemset.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00