diff options
author | DJ Delorie <dj@delorie.com> | 2001-09-27 20:27:58 +0000 |
---|---|---|
committer | DJ Delorie <dj@delorie.com> | 2001-09-27 20:27:58 +0000 |
commit | a162569b0652c18ecdcdb77a14b388c05067c4db (patch) | |
tree | 6e3fea1bfb452f52113c9a21fc0ee1e3f6568eb6 /libiberty/strstr.c | |
parent | 4666a5a22845b7e95321df0ca346fcf324062e39 (diff) | |
download | gdb-a162569b0652c18ecdcdb77a14b388c05067c4db.tar.gz |
merge from gcc
Diffstat (limited to 'libiberty/strstr.c')
-rw-r--r-- | libiberty/strstr.c | 4 |
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}. |