|
@ -1,4 +1,4 @@ |
|
|
.\" $OpenBSD: wcstok.3,v 1.3 2005/08/06 03:21:36 jaredy Exp $ |
|
|
|
|
|
|
|
|
.\" $OpenBSD: wcstok.3,v 1.4 2005/08/07 10:22:21 jmc Exp $ |
|
|
.\" |
|
|
.\" |
|
|
.\" $NetBSD: wcstok.3,v 1.3 2003/09/08 17:54:33 wiz Exp $ |
|
|
.\" $NetBSD: wcstok.3,v 1.3 2003/09/08 17:54:33 wiz Exp $ |
|
|
.\" |
|
|
.\" |
|
@ -112,15 +112,6 @@ for (tok = wcstok(text, seps, &last); tok != NULL; |
|
|
tok = wcstok(NULL, seps, &last)) |
|
|
tok = wcstok(NULL, seps, &last)) |
|
|
wprintf(L"%ls\en", tok); |
|
|
wprintf(L"%ls\en", tok); |
|
|
.Ed |
|
|
.Ed |
|
|
.Sh COMPATIBILITY |
|
|
|
|
|
Some early implementations of |
|
|
|
|
|
.Fn wcstok |
|
|
|
|
|
omit the |
|
|
|
|
|
context pointer argument, |
|
|
|
|
|
.Fa last , |
|
|
|
|
|
and maintain state across calls in a static variable like |
|
|
|
|
|
.Fn strtok |
|
|
|
|
|
does. |
|
|
|
|
|
.Sh SEE ALSO |
|
|
.Sh SEE ALSO |
|
|
.Xr strtok 3 , |
|
|
.Xr strtok 3 , |
|
|
.Xr wcschr 3 , |
|
|
.Xr wcschr 3 , |
|
@ -134,3 +125,12 @@ The |
|
|
function |
|
|
function |
|
|
conforms to |
|
|
conforms to |
|
|
.St -isoC-99 . |
|
|
.St -isoC-99 . |
|
|
|
|
|
.Sh HISTORY |
|
|
|
|
|
Some early implementations of |
|
|
|
|
|
.Fn wcstok |
|
|
|
|
|
omit the |
|
|
|
|
|
context pointer argument, |
|
|
|
|
|
.Fa last , |
|
|
|
|
|
and maintain state across calls in a static variable like |
|
|
|
|
|
.Fn strtok |
|
|
|
|
|
does. |