summaryrefslogtreecommitdiff
path: root/lib/libc/string
diff options
context:
space:
mode:
authorwiz <wiz@NetBSD.org>2004-01-24 16:58:54 +0000
committerwiz <wiz@NetBSD.org>2004-01-24 16:58:54 +0000
commitcef0afe940dedba57f5f0eb8f805f4f56ffe126b (patch)
treeb40741b0beac2b2d3d1dcda4725a55db66a231fa /lib/libc/string
parent36f4f7f5c38db50d88197db1f061506859c9b1a7 (diff)
Lots of grammar and wording changes from jmc@openbsd, with some
additional consistency changes by me.
Diffstat (limited to 'lib/libc/string')
-rw-r--r--lib/libc/string/wcstok.319
-rw-r--r--lib/libc/string/wmemchr.38
2 files changed, 13 insertions, 14 deletions
diff --git a/lib/libc/string/wcstok.3 b/lib/libc/string/wcstok.3
index df10000af10..111a469633f 100644
--- a/lib/libc/string/wcstok.3
+++ b/lib/libc/string/wcstok.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: wcstok.3,v 1.3 2003/09/08 17:54:33 wiz Exp $
+.\" $NetBSD: wcstok.3,v 1.4 2004/01/24 16:59:30 wiz Exp $
.\"
.\" Copyright (c) 1998 Softweyr LLC. All rights reserved.
.\"
@@ -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,11 @@ The
function
conforms to
.St -isoC-99 .
+.Pp
+Some early implementations of
+.Fn wcstok
+omit the context pointer argument,
+.Fa last ,
+and maintain state across calls in a static variable like
+.Xr strtok 3
+does.
diff --git a/lib/libc/string/wmemchr.3 b/lib/libc/string/wmemchr.3
index 3fcf5db0aeb..b1eee095d1b 100644
--- a/lib/libc/string/wmemchr.3
+++ b/lib/libc/string/wmemchr.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: wmemchr.3,v 1.9 2003/09/08 17:54:33 wiz Exp $
+.\" $NetBSD: wmemchr.3,v 1.10 2004/01/24 16:59:30 wiz Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -103,10 +103,10 @@
.Ft wchar_t *
.Fn wcsstr "const wchar_t *s1" "const wchar_t *s2"
.Sh DESCRIPTION
-The functions implement string manipulation operations over wide character
+These functions implement string manipulation operations over wide character
strings.
-For a detailed description, refer to documents for the respective single-byte
-counterpart, such as
+For a detailed description, refer to the documents for the respective
+single-byte counterpart, such as
.Xr memchr 3 .
.Sh SEE ALSO
.Xr memchr 3 ,