summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/wcstok.3
diff options
context:
space:
mode:
authorjmc <>2010-09-10 18:38:20 +0000
committerjmc <>2010-09-10 18:38:20 +0000
commit47e979d0c84be8a65d97194c79668c3de2600f6f (patch)
tree57adc327ed33cdce1199bdd11e3eb19f756f31a9 /src/lib/libc/string/wcstok.3
parentd9f82ce863bd9db2aa9895c1ca5d07d82cc577ca (diff)
downloadopenbsd-47e979d0c84be8a65d97194c79668c3de2600f6f.tar.gz
openbsd-47e979d0c84be8a65d97194c79668c3de2600f6f.tar.bz2
openbsd-47e979d0c84be8a65d97194c79668c3de2600f6f.zip
observe the following spelling:
- wide character (noun) - wide-character (adjective) this is the "fix of least resistance", and appears to be in line with posix style; a tiny fix still needed for curses, but i'll mail that upstream;
Diffstat (limited to 'src/lib/libc/string/wcstok.3')
-rw-r--r--src/lib/libc/string/wcstok.310
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libc/string/wcstok.3 b/src/lib/libc/string/wcstok.3
index fe65f120e3..945ec9b990 100644
--- a/src/lib/libc/string/wcstok.3
+++ b/src/lib/libc/string/wcstok.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: wcstok.3,v 1.5 2007/05/31 19:19:32 jmc Exp $ 1.\" $OpenBSD: wcstok.3,v 1.6 2010/09/10 18:38:20 jmc Exp $
2.\" 2.\"
3.\" $NetBSD: wcstok.3,v 1.3 2003/09/08 17:54:33 wiz Exp $ 3.\" $NetBSD: wcstok.3,v 1.3 2003/09/08 17:54:33 wiz Exp $
4.\" 4.\"
@@ -54,7 +54,7 @@
54.\" Original version ID: 54.\" Original version ID:
55.\" FreeBSD: src/lib/libc/string/wcstok.3,v 1.4 2002/10/15 09:49:54 tjr Exp 55.\" FreeBSD: src/lib/libc/string/wcstok.3,v 1.4 2002/10/15 09:49:54 tjr Exp
56.\" 56.\"
57.Dd $Mdocdate: May 31 2007 $ 57.Dd $Mdocdate: September 10 2010 $
58.Dt WCSTOK 3 58.Dt WCSTOK 3
59.Os 59.Os
60.Sh NAME 60.Sh NAME
@@ -68,7 +68,7 @@
68The 68The
69.Fn wcstok 69.Fn wcstok
70function 70function
71is used to isolate sequential tokens in a NUL-terminated wide character 71is used to isolate sequential tokens in a NUL-terminated wide-character
72string, 72string,
73.Fa str . 73.Fa str .
74These tokens are separated in the string by at least one of the 74These tokens are separated in the string by at least one of the
@@ -89,7 +89,7 @@ must be provided on each call.
89.Pp 89.Pp
90The 90The
91.Fn wcstok 91.Fn wcstok
92function is the wide character counterpart of the 92function is the wide-character counterpart of the
93.Fn strtok_r 93.Fn strtok_r
94function. 94function.
95.Sh RETURN VALUES 95.Sh RETURN VALUES
@@ -100,7 +100,7 @@ returns a pointer to the beginning of each subsequent token in the string,
100after replacing the token itself with a NUL wide character (L'\e0'). 100after replacing the token itself with a NUL wide character (L'\e0').
101When no more tokens remain, a null pointer is returned. 101When no more tokens remain, a null pointer is returned.
102.Sh EXAMPLES 102.Sh EXAMPLES
103The following code fragment splits a wide character string on 103The following code fragment splits a wide-character string on
104.Tn ASCII 104.Tn ASCII
105space, tab, and newline characters and writes the tokens to 105space, tab, and newline characters and writes the tokens to
106standard output: 106standard output: