aboutsummaryrefslogtreecommitdiff
path: root/libiberty/strstr.c
diff options
context:
space:
mode:
authorJoseph Myers <jsm28@cam.ac.uk>2001-10-07 22:53:31 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2001-10-07 22:53:31 +0100
commit7f8fa05daed1a59589d41a1edbe7db47825c57c0 (patch)
tree12540ed2bdf09e822d8d7262f4f4319edd0771c7 /libiberty/strstr.c
parentcc712abf045f954314de6c463816ecfbde58ba71 (diff)
downloadgcc-7f8fa05daed1a59589d41a1edbe7db47825c57c0.zip
gcc-7f8fa05daed1a59589d41a1edbe7db47825c57c0.tar.gz
gcc-7f8fa05daed1a59589d41a1edbe7db47825c57c0.tar.bz2
alloca.c, [...]: Improve manual formatting.
* alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c, libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c, strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c, xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix spelling. Give names to function arguments in documentation. Use (void) prototypes in documentation. * functions.texi: Regenerate. From-SVN: r46068
Diffstat (limited to 'libiberty/strstr.c')
-rw-r--r--libiberty/strstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/strstr.c b/libiberty/strstr.c
index ffe1d10..470e04b 100644
--- a/libiberty/strstr.c
+++ b/libiberty/strstr.c
@@ -7,7 +7,7 @@
This function searches for the substring @var{sub} in the string
@var{string}, not including the terminating null characters. A pointer
-to the first occurrence of @var{sub} is returned, or NULL if the
+to the first occurrence of @var{sub} is returned, or @code{NULL} if the
substring is absent. If @var{sub} points to a string with zero
length, the function returns @var{string}.