freebsd-dev/lib/libc/string
Tim J. Robbins fcd7f38f46 Replace wcsstr() with an implementation based on strstr(), which is far
more efficient. The problem with the previous implementation was that it
calculated the length of the first argument ("big") with wcslen() when
it was not necessary.
2002-10-24 02:53:45 +00:00
..
bcmp.3 - Update the manual page of bcmp(3) by replacing 2002-08-30 21:07:40 +00:00
bcmp.c - Update the manual page of bcmp(3) by replacing 2002-08-30 21:07:40 +00:00
bcopy.3 - Let their manual pages show the reader that the bzero(3) and 2002-09-01 21:53:46 +00:00
bcopy.c - Let their manual pages show the reader that the bzero(3) and 2002-09-01 21:53:46 +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 - Let their manual pages show the reader that the bzero(3) and 2002-09-01 21:53:46 +00:00
bzero.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
ffs.3 - Update the manual page to show that the associated header file 2002-08-30 19:08:53 +00:00
ffs.c - Update the manual page to show that the associated header file 2002-08-30 19:08:53 +00:00
index.3 - Update the manual pages of index() and rindex() to show 2002-08-30 19:42:07 +00:00
index.c - Update the manual pages of index() and rindex() to show 2002-08-30 19:42:07 +00:00
Makefile.inc Add a placeholder implementation of wcscoll() and wcsxfrm() which gives 2002-10-04 03:18:26 +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 Remove 'register' keyword. 2002-03-21 18:49:23 +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 Remove 'register' keyword. 2002-03-21 18:49:23 +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 Remove 'register' keyword. 2002-03-21 18:49:23 +00:00
memcpy.3 Suggest using memmove(3) if src and dst may overlap. 2002-01-07 06:03:37 +00:00
memcpy.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +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 Fix the style of the SCM ID's. 2002-03-22 21:53:29 +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 - Let their manual pages show the reader that the bzero(3) and 2002-09-01 21:53:46 +00:00
rindex.3 - Update the manual pages of index() and rindex() to show 2002-08-30 19:42:07 +00:00
rindex.c - Update the manual pages of index() and rindex() to show 2002-08-30 19:42:07 +00:00
stpcpy.c Add stpcpy(3). 2002-10-03 19:39:20 +00:00
strcasecmp.3 - Update strcasecmp(3)/strncasecmp(3) to reflect the fact that 2002-08-30 15:40:01 +00:00
strcasecmp.c - Update strcasecmp(3)/strncasecmp(3) to reflect the fact that 2002-08-30 15:40:01 +00:00
strcasestr.c Remove 'register' keyword. 2002-03-21 18:49:23 +00:00
strcat.3 Style: One space between "restrict" qualifier and "*". 2002-09-06 11:24:06 +00:00
strcat.c Style: One space between "restrict" qualifier and "*". 2002-09-06 11:24:06 +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 Fix the style of the SCM ID's. 2002-03-22 21:53:29 +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 Remove 'register' keyword. 2002-03-21 18:49:23 +00:00
strcoll.3 Add cross-references to the wide character counterparts of these functions. 2002-10-15 10:11:53 +00:00
strcoll.c rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
strcpy.3 Translate to English. 2002-10-23 08:55:14 +00:00
strcpy.c Style: One space between "restrict" qualifier and "*". 2002-09-06 11:24:06 +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 Remove 'register' keyword. 2002-03-21 18:49:23 +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 Remove the Standards section again until we get these functions sorted 2002-10-24 01:24:26 +00:00
strerror.c Fix off-by-one error. 2002-07-03 06:28:04 +00:00
string.3 C89 does not specifiy strsep(), so our strsep() implementation cannot 2002-10-19 13:41:22 +00:00
strlcat.c Remove 'register' keyword. 2002-03-21 18:49:23 +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 Remove 'register' keyword. 2002-03-21 18:49:23 +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 Remove 'register' keyword. 2002-03-21 18:49:23 +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 Remove 'register' keyword. 2002-03-21 18:49:23 +00:00
strncat.c Style: One space between "restrict" qualifier and "*". 2002-09-06 11:24:06 +00:00
strncmp.c Remove 'register' keyword. 2002-03-21 18:49:23 +00:00
strncpy.c Style: One space between "restrict" qualifier and "*". 2002-09-06 11:24:06 +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 Remove 'register' keyword. 2002-03-21 18:49:23 +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 Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
strsep.3 Correct an inaccuracy in this man page regarding detecting empty fields. 2002-08-07 20:08:50 +00:00
strsep.c Remove 'register' keyword. 2002-03-21 18:49:23 +00:00
strsignal.c Remove 'register' keyword. 2002-03-21 18:49:23 +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 Remove 'register' keyword. 2002-03-21 18:49:23 +00:00
strstr.3 mdoc(7) police: minor markup and spelling fixes. 2001-11-20 14:11:07 +00:00
strstr.c Remove 'register' keyword. 2002-03-21 18:49:23 +00:00
strtok.3 Add cross-references to the wide character counterparts of these functions. 2002-10-15 10:11:53 +00:00
strtok.c Call strtok_r() via a libc private name from within strtok(). 2002-09-07 02:53:19 +00:00
strxfrm.3 Add cross-references to the wide character counterparts of these functions. 2002-10-15 10:11:53 +00:00
strxfrm.c Style: One space between "restrict" qualifier and "*". 2002-09-06 11:24:06 +00:00
swab.3 Add the 'restrict' type qualifier to the function prototype 2002-08-30 21:18:39 +00:00
swab.c - Convert the function definition to declare its arguments 2002-08-30 20:33:05 +00:00
wcscat.c Simplify by removing unneeded local variables and explicit null termination. 2002-09-26 09:28:55 +00:00
wcschr.c Reimplement, handling the case where c == L'\0' correctly and fixing 2002-10-23 10:47:47 +00:00
wcscmp.c Fix the NetBSD RCS id's on these files; somehow they were initially 2002-10-23 11:08:40 +00:00
wcscoll.3 Add a placeholder implementation of wcscoll() and wcsxfrm() which gives 2002-10-04 03:18:26 +00:00
wcscoll.c Add a placeholder implementation of wcscoll() and wcsxfrm() which gives 2002-10-04 03:18:26 +00:00
wcscpy.c Simplify by removing useless local variables and explicit null termination. 2002-09-26 09:23:07 +00:00
wcscspn.c Remove unnecessary #include <assert.h>; it was used to bring in the 2002-09-21 00:29:23 +00:00
wcslcat.c Remove unnecessary #include <assert.h>; it was used to bring in the 2002-09-21 00:29:23 +00:00
wcslcpy.c Remove unnecessary #include <assert.h>; it was used to bring in the 2002-09-21 00:29:23 +00:00
wcslen.c Remove unnecessary #include <assert.h>; it was used to bring in the 2002-09-21 00:29:23 +00:00
wcsncat.c Remove unnecessary #include <assert.h>; it was used to bring in the 2002-09-21 00:29:23 +00:00
wcsncmp.c Fix the NetBSD RCS id's on these files; somehow they were initially 2002-10-23 11:08:40 +00:00
wcsncpy.c Restore Berkeley SCCS id. 2002-10-24 02:48:45 +00:00
wcspbrk.c Remove unnecessary #include <assert.h>; it was used to bring in the 2002-09-21 00:29:23 +00:00
wcsrchr.c Reimplement more efficiently, using a single forward scan (like strrchr(3)) 2002-10-23 10:52:04 +00:00
wcsspn.c Remove unnecessary #include <assert.h>; it was used to bring in the 2002-09-21 00:29:23 +00:00
wcsstr.c Replace wcsstr() with an implementation based on strstr(), which is far 2002-10-24 02:53:45 +00:00
wcstok.3 Remove stray comma at the end of the See Also list. 2002-10-15 09:49:54 +00:00
wcstok.c Add an implementation of wcstok(), based on strtok_r(). 2002-09-07 08:16:57 +00:00
wcswidth.3 Add a manual page for wcswidth(). 2002-08-20 03:40:45 +00:00
wcswidth.c Move just committed version of wcswidth.c here (from "locale"), 2002-08-20 02:06:28 +00:00
wcsxfrm.3 Add a placeholder implementation of wcscoll() and wcsxfrm() which gives 2002-10-04 03:18:26 +00:00
wcsxfrm.c Add a placeholder implementation of wcscoll() and wcsxfrm() which gives 2002-10-04 03:18:26 +00:00
wmemchr.3 Sync prototypes with <wchar.h> with respect to the restrict qualifier. 2002-09-07 04:07:00 +00:00
wmemchr.c Remove unnecessary #include <assert.h>; it was used to bring in the 2002-09-21 00:29:23 +00:00
wmemcmp.c Remove unnecessary #include <assert.h>; it was used to bring in the 2002-09-21 00:29:23 +00:00
wmemcpy.c Remove unnecessary #include <assert.h>; it was used to bring in the 2002-09-21 00:29:23 +00:00
wmemmove.c Remove unnecessary #include <assert.h>; it was used to bring in the 2002-09-21 00:29:23 +00:00
wmemset.c Remove unnecessary #include <assert.h>; it was used to bring in the 2002-09-21 00:29:23 +00:00