summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/wcstok.3
diff options
context:
space:
mode:
authorjaredy <jaredy@openbsd.org>2005-08-06 03:21:36 +0000
committerjaredy <jaredy@openbsd.org>2005-08-06 03:21:36 +0000
commit8e98f05d2f27c77843f81ab7dd875f6a75cb3135 (patch)
tree23f8ac863351a558e77f73f82c96c7953c2c65ec /lib/libc/string/wcstok.3
parentsync function prototypes to reality; ok jmc (diff)
downloadwireguard-openbsd-8e98f05d2f27c77843f81ab7dd875f6a75cb3135.tar.xz
wireguard-openbsd-8e98f05d2f27c77843f81ab7dd875f6a75cb3135.zip
- 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";