aboutsummaryrefslogtreecommitdiff
path: root/libiberty/strstr.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-09-27 20:27:58 +0000
committerDJ Delorie <dj@redhat.com>2001-09-27 20:27:58 +0000
commitfa9f0e33b3c0510267d7a41f2f4ee72ba452c37e (patch)
treeeab3f8364165c1526f7ea2a5fef4db2ebda18653 /libiberty/strstr.c
parent0ac8d2cabf050fa3d463a79240ef8e05db368b1f (diff)
downloadgdb-fa9f0e33b3c0510267d7a41f2f4ee72ba452c37e.zip
gdb-fa9f0e33b3c0510267d7a41f2f4ee72ba452c37e.tar.gz
gdb-fa9f0e33b3c0510267d7a41f2f4ee72ba452c37e.tar.bz2
merge from gcc
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}.