aboutsummaryrefslogtreecommitdiff
path: root/libiberty/strstr.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@is.elta.co.il>2001-09-27 21:55:37 +0200
committerDJ Delorie <dj@gcc.gnu.org>2001-09-27 15:55:37 -0400
commite922f9785cea44a5923598d4e7a72352a42df737 (patch)
tree480abcb54fa75ec1846629eeafcf764889c4f370 /libiberty/strstr.c
parentae9092da9647424668486f76d322bbc8351857c4 (diff)
downloadgcc-e922f9785cea44a5923598d4e7a72352a42df737.zip
gcc-e922f9785cea44a5923598d4e7a72352a42df737.tar.gz
gcc-e922f9785cea44a5923598d4e7a72352a42df737.tar.bz2
libiberty.texi: (Top level): Add syncodeindex pg.
* 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. From-SVN: r45847
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 e736034..ffe1d10 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}.