summaryrefslogtreecommitdiff
path: root/lib/libc/string/wcstok.3
diff options
context:
space:
mode:
authorJared Yanovich <jaredy@cvs.openbsd.org>2005-08-06 03:21:37 +0000
committerJared Yanovich <jaredy@cvs.openbsd.org>2005-08-06 03:21:37 +0000
commitf320f58a3a41c09f59d2dd240920f4625a1068c3 (patch)
treea1ed0a11f7c583f6f82cd0efbcc2aeb69bd131d8 /lib/libc/string/wcstok.3
parentbe8de76c3e14547badca9fa4309adeeb909afcf1 (diff)
- macro, punctuation, and rewording tweaks
- avoid first person. ok jmc
Diffstat (limited to 'lib/libc/string/wcstok.3')
-rw-r--r--lib/libc/string/wcstok.38
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/string/wcstok.3 b/lib/libc/string/wcstok.3
index dd3f36cfd5b..28291888f5a 100644
--- a/lib/libc/string/wcstok.3
+++ b/lib/libc/string/wcstok.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: wcstok.3,v 1.2 2005/04/13 20:42:48 jmc Exp $
+.\" $OpenBSD: wcstok.3,v 1.3 2005/08/06 03:21:36 jaredy Exp $
.\"
.\" $NetBSD: wcstok.3,v 1.3 2003/09/08 17:54:33 wiz Exp $
.\"
@@ -68,7 +68,7 @@
The
.Fn wcstok
function
-is used to isolate sequential tokens in a null-terminated wide character
+is used to isolate sequential tokens in a NUL-terminated wide character
string,
.Fa str .
These tokens are separated in the string by at least one of the
@@ -97,12 +97,12 @@ The
.Fn wcstok
function
returns a pointer to the beginning of each subsequent token in the string,
-after replacing the token itself with a null wide character (L'\e0').
+after replacing the token itself with a NUL wide character (L'\e0').
When no more tokens remain, a null pointer is returned.
.Sh EXAMPLES
The following code fragment splits a wide character string on
.Tn ASCII
-space, tab and newline characters and writes the tokens to
+space, tab, and newline characters and writes the tokens to
standard output:
.Bd -literal -offset indent
const wchar_t *seps = L" \et\en";