summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2002-08-07 20:08:50 +0000
committerarchie <archie@FreeBSD.org>2002-08-07 20:08:50 +0000
commit13ab1d7641b31b78fd50927a763547a793c34817 (patch)
treea3855de83844d0aa71da6e513516d21bb2730193 /lib
parent2b807b6abc79eed88ab6e43b76b724e95538c803 (diff)
downloadFreeBSD-src-13ab1d7641b31b78fd50927a763547a793c34817.zip
FreeBSD-src-13ab1d7641b31b78fd50927a763547a793c34817.tar.gz
Correct an inaccuracy in this man page regarding detecting empty fields.
MFC after: 2 days
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/string/strsep.39
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libc/string/strsep.3 b/lib/libc/string/strsep.3
index ba42c48..12bd585 100644
--- a/lib/libc/string/strsep.3
+++ b/lib/libc/string/strsep.3
@@ -65,10 +65,11 @@ The original value of
.Fa *stringp
is returned.
.Pp
-An ``empty'' field, i.e. one caused by two adjacent delimiter characters,
-can be detected by comparing the location referenced by the pointer returned
-in
-.Fa *stringp
+An ``empty'' field (i.e., a character in the string
+.Fa delim
+occurs as the first character of
+.Fa *stringp )
+can be detected by comparing the location referenced by the returned pointer
to
.Ql \e0 .
.Pp
OpenPOWER on IntegriCloud