1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/lib/libc/string
Mike Barcroft 68cd9bedfb Stylistic changes:
o Fix an English error (comma splice) and poorly worded sentence.
o Fix KNF ordering of variables (pointers come before arithmetic types).
o Restore hand-optimization of sizeof()-1, instead of strlen().
o Remove unneeded local variables in strerror_r().

Test by:	strerror regression test
Requested by:	bde
Reviewed by:	bde
2002-12-20 05:26:10 +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
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 mdoc(7) police: Fixed abuses of the .Ar and .Em macros. 2002-12-18 13:33:04 +00:00
index.c - Update the manual pages of index() and rindex() to show 2002-08-30 19:42:07 +00:00
Makefile.inc libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00
memccpy.3
memccpy.c Remove 'register' keyword. 2002-03-21 18:49:23 +00:00
memchr.3
memchr.c Remove 'register' keyword. 2002-03-21 18:49:23 +00:00
memcmp.3
memcmp.c Remove 'register' keyword. 2002-03-21 18:49:23 +00:00
memcpy.3
memcpy.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
memmove.3
memmove.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
memset.3
memset.c - Let their manual pages show the reader that the bzero(3) and 2002-09-01 21:53:46 +00:00
rindex.3 mdoc(7) police: Fixed abuses of the .Ar and .Em macros. 2002-12-18 13:33:04 +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: Fixed abuses of the .Ar and .Em macros. 2002-12-18 13:33:04 +00:00
strchr.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
strcmp.3
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
strcpy.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
strcpy.c Style: One space between "restrict" qualifier and "*". 2002-09-06 11:24:06 +00:00
strcspn.3
strcspn.c Remove 'register' keyword. 2002-03-21 18:49:23 +00:00
strdup.3
strdup.c
strerror.3 Add back the Standards section claiming conformance to 1003.1-2001 and 2002-12-19 10:24:52 +00:00
strerror.c Stylistic changes: 2002-12-20 05:26:10 +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: "The .Fn function". 2002-12-18 12:45:11 +00:00
strlcpy.c Remove 'register' keyword. 2002-03-21 18:49:23 +00:00
strlen.3
strlen.c Remove 'register' keyword. 2002-03-21 18:49:23 +00:00
strmode.3
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
strpbrk.3
strpbrk.c Remove 'register' keyword. 2002-03-21 18:49:23 +00:00
strrchr.3
strrchr.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
strsep.3 mdoc(7) police: formatting nits. 2002-11-29 15:57: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
strspn.c Remove 'register' keyword. 2002-03-21 18:49:23 +00:00
strstr.3
strstr.c Remove 'register' keyword. 2002-03-21 18:49:23 +00:00
strtok.3 mdoc(7) police: "The .Fn function". 2002-12-18 12:45:11 +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 mdoc(7) police: tiny nits. 2002-12-09 14:04:05 +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 mdoc(7) police: tiny nits. 2002-12-09 14:04:05 +00:00
wcswidth.c Move just committed version of wcswidth.c here (from "locale"), 2002-08-20 02:06:28 +00:00
wcsxfrm.3 mdoc(7) police: tiny nits. 2002-12-09 14:04:05 +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