diff options
author | jmc <> | 2005-08-07 10:22:21 +0000 |
---|---|---|
committer | jmc <> | 2005-08-07 10:22:21 +0000 |
commit | 5cf81f9663bfb2af55273bd020c777bacc636110 (patch) | |
tree | 83018d619b8b4814744daad0ceda3444a10af3a0 | |
parent | b8b677406e1ef4804e2003a72385456ce954c219 (diff) | |
download | openbsd-5cf81f9663bfb2af55273bd020c777bacc636110.tar.gz openbsd-5cf81f9663bfb2af55273bd020c777bacc636110.tar.bz2 openbsd-5cf81f9663bfb2af55273bd020c777bacc636110.zip |
move non-standard COMPATIBILITY section to HISTORY, which seems more
relevant anyway;
ok jaredy@
-rw-r--r-- | src/lib/libc/string/wcstok.3 | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/libc/string/wcstok.3 b/src/lib/libc/string/wcstok.3 index 28291888f5..fef2754474 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.3 2005/08/06 03:21:36 jaredy Exp $ | 1 | .\" $OpenBSD: wcstok.3,v 1.4 2005/08/07 10:22:21 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 | .\" |
@@ -112,15 +112,6 @@ for (tok = wcstok(text, seps, &last); tok != NULL; | |||
112 | tok = wcstok(NULL, seps, &last)) | 112 | tok = wcstok(NULL, seps, &last)) |
113 | wprintf(L"%ls\en", tok); | 113 | wprintf(L"%ls\en", tok); |
114 | .Ed | 114 | .Ed |
115 | .Sh COMPATIBILITY | ||
116 | Some early implementations of | ||
117 | .Fn wcstok | ||
118 | omit the | ||
119 | context pointer argument, | ||
120 | .Fa last , | ||
121 | and maintain state across calls in a static variable like | ||
122 | .Fn strtok | ||
123 | does. | ||
124 | .Sh SEE ALSO | 115 | .Sh SEE ALSO |
125 | .Xr strtok 3 , | 116 | .Xr strtok 3 , |
126 | .Xr wcschr 3 , | 117 | .Xr wcschr 3 , |
@@ -134,3 +125,12 @@ The | |||
134 | function | 125 | function |
135 | conforms to | 126 | conforms to |
136 | .St -isoC-99 . | 127 | .St -isoC-99 . |
128 | .Sh HISTORY | ||
129 | Some early implementations of | ||
130 | .Fn wcstok | ||
131 | omit the | ||
132 | context pointer argument, | ||
133 | .Fa last , | ||
134 | and maintain state across calls in a static variable like | ||
135 | .Fn strtok | ||
136 | does. | ||