diff --git a/src/lib/libc/string/wcstok.3 b/src/lib/libc/string/wcstok.3 index 28291888..fef27544 100644 --- a/src/lib/libc/string/wcstok.3 +++ b/src/lib/libc/string/wcstok.3 @@ -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 $ .\" @@ -112,15 +112,6 @@ for (tok = wcstok(text, seps, &last); tok != NULL; tok = wcstok(NULL, seps, &last)) wprintf(L"%ls\en", tok); .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 .Xr strtok 3 , .Xr wcschr 3 , @@ -134,3 +125,12 @@ The function conforms to .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.