summaryrefslogtreecommitdiff
path: root/libiberty/strstr.c
diff options
context:
space:
mode:
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2001-09-27 19:55:37 +0000
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2001-09-27 19:55:37 +0000
commit997fdf4ae03fc53ec3f494542e4009aae0d1039c (patch)
tree480abcb54fa75ec1846629eeafcf764889c4f370 /libiberty/strstr.c
parenteb765d0cf14596cba56989c62631670814f93b7d (diff)
downloadgcc-997fdf4ae03fc53ec3f494542e4009aae0d1039c.tar.gz
* libiberty.texi: (Top level): Add syncodeindex pg. Add
@dircategory and @direntry directives. Add @finalout. (many nodes): Lose the next,prev,up pointers on the @nide line. (Using, Supplemental Functions, Replacement Functions): Fix markup. (Functions): Move around, to allow makeinfo to build the manual without next,prev,up pointers in thye node lines. (Licenses): Fix typos. * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c, strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup. * functions.texi: Regenerate. * copying-lib.texi: Lose the next,prev,up pointers on the @node line. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45847 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/strstr.c')
-rw-r--r--libiberty/strstr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/strstr.c b/libiberty/strstr.c
index e7360341bc0..ffe1d10fc9e 100644
--- a/libiberty/strstr.c
+++ b/libiberty/strstr.c
@@ -6,8 +6,8 @@
@deftypefn Supplemental char* strstr (const char *@var{string}, const char *@var{sub})
This function searches for the substring @var{sub} in the string
-@var{string}, not including the terminating NUL characters. A pointer
-to the first occurance of @var{sub} is returned, or NULL if the
+@var{string}, not including the terminating null characters. A pointer
+to the first occurrence of @var{sub} is returned, or NULL if the
substring is absent. If @var{sub} points to a string with zero
length, the function returns @var{string}.