@ -1,4 +1,4 @@
.\" $OpenBSD: wcstok.3,v 1.5 2007/05/31 19:19:32 jmc Exp $
.\" $OpenBSD: wcstok.3,v 1.6 2010/09/10 18:38:20 jmc Exp $
.\"
.\" $NetBSD: wcstok.3,v 1.3 2003/09/08 17:54:33 wiz Exp $
.\"
@ -54,7 +54,7 @@
.\" Original version ID:
.\" FreeBSD: src/lib/libc/string/wcstok.3,v 1.4 2002/10/15 09:49:54 tjr Exp
.\"
.Dd $Mdocdate: May 31 2007 $
.Dd $Mdocdate: September 10 2010 $
.Dt WCSTOK 3
.Os
.Sh NAME
@ -68,7 +68,7 @@
The
.Fn wcstok
function
is used to isolate sequential tokens in a NUL-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
@ -89,7 +89,7 @@ must be provided on each call.
.Pp
The
.Fn wcstok
function is the wide character counterpart of the
function is the wide- character counterpart of the
.Fn strtok_r
function.
.Sh RETURN VALUES
@ -100,7 +100,7 @@ returns a pointer to the beginning of each subsequent token in the string,
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
The following code fragment splits a wide- character string on
.Tn ASCII
space, tab, and newline characters and writes the tokens to
standard output: