summaryrefslogtreecommitdiffstats
path: root/lib/libc/string
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2017-09-02 13:56:44 +0000
committerschwarze <schwarze@openbsd.org>2017-09-02 13:56:44 +0000
commit856266894b5a7d89fe173323fd4864f3b468baa9 (patch)
treed19f6be578696059349b453093d7d845b424c541 /lib/libc/string
parenthandle rk3288 i2c clocks (diff)
downloadwireguard-openbsd-856266894b5a7d89fe173323fd4864f3b468baa9.tar.xz
wireguard-openbsd-856266894b5a7d89fe173323fd4864f3b468baa9.zip
delete pointless .Tn ASCII found by jca@ with mandoc -Tlint
Diffstat (limited to 'lib/libc/string')
-rw-r--r--lib/libc/string/strtok.39
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/libc/string/strtok.3 b/lib/libc/string/strtok.3
index ae7423661a5..0f1f359ec48 100644
--- a/lib/libc/string/strtok.3
+++ b/lib/libc/string/strtok.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: strtok.3,v 1.22 2017/08/31 10:57:47 jca Exp $
+.\" $OpenBSD: strtok.3,v 1.23 2017/09/02 13:56:44 schwarze Exp $
.\"
.\" Copyright (c) 1988, 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: August 31 2017 $
+.Dd $Mdocdate: September 2 2017 $
.Dt STRTOK 3
.Os
.Sh NAME
@@ -86,9 +86,8 @@ The
and
.Fn strtok_r
functions return a pointer to the beginning of each subsequent token
-in the string, after replacing the separator character itself with an
-.Tn ASCII NUL
-character.
+in the string, after replacing the separator character itself with
+a NUL character.
When no more tokens remain, a null pointer is returned.
.Sh EXAMPLES
The following will construct an array of pointers to each individual word in