From 1cb33adee1d002c1415ef3328b29b33a29b143d4 Mon Sep 17 00:00:00 2001 From: jmc <> Date: Sun, 7 Aug 2005 10:22:21 +0000 Subject: [PATCH] move non-standard COMPATIBILITY section to HISTORY, which seems more relevant anyway; ok jaredy@ --- src/lib/libc/string/wcstok.3 | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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.