summaryrefslogtreecommitdiffstats
path: root/lib/libc/string
diff options
context:
space:
mode:
authorhoek <hoek@FreeBSD.org>1999-12-31 21:27:02 +0000
committerhoek <hoek@FreeBSD.org>1999-12-31 21:27:02 +0000
commit8ff2a6f6d47061b56460be29405a1864df862624 (patch)
tree21b003e6640e9fd6d57dd9cb8404b99e6249ca08 /lib/libc/string
parentbe362cf42a8b0d32dec9a463cd562654d29c7a3a (diff)
downloadFreeBSD-src-8ff2a6f6d47061b56460be29405a1864df862624.zip
FreeBSD-src-8ff2a6f6d47061b56460be29405a1864df862624.tar.gz
Backout the prev. commit. It's a bad idea to make-up terms. I believe
there is no good solution here. Set-on-the-straight-and-narrow by: bde
Diffstat (limited to 'lib/libc/string')
-rw-r--r--lib/libc/string/strrchr.32
-rw-r--r--lib/libc/string/strtok.34
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/string/strrchr.3 b/lib/libc/string/strrchr.3
index 99f46d6..c44996a 100644
--- a/lib/libc/string/strrchr.3
+++ b/lib/libc/string/strrchr.3
@@ -67,7 +67,7 @@ The
.Fn strrchr
function
returns a pointer to the character,
-or the NULL
+or a null
pointer if
.Fa c
does not occur anywhere in
diff --git a/lib/libc/string/strtok.3 b/lib/libc/string/strtok.3
index 3a0b77d..26b3a1d 100644
--- a/lib/libc/string/strtok.3
+++ b/lib/libc/string/strtok.3
@@ -80,7 +80,7 @@ The first time that
is called,
.Fa str
should be specified; subsequent calls, wishing to obtain further tokens
-from the same string, should pass the NULL pointer instead.
+from the same string, should pass a null pointer instead.
The separator string,
.Fa sep ,
must be supplied each time, and may change between calls.
@@ -105,7 +105,7 @@ return a pointer to the beginning of each subsequent token in the string,
after replacing the token itself with a
.Dv NUL
character.
-When no more tokens remain, the NULL pointer is returned.
+When no more tokens remain, a null pointer is returned.
.Sh EXAMPLE
The following uses
.Fn strtok_r
OpenPOWER on IntegriCloud