diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2010-09-10 18:38:21 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2010-09-10 18:38:21 +0000 |
commit | a82cc7915115ee40094d8ba1e454fbd3abec7e8b (patch) | |
tree | 7bda42594fbe3c9701a60b332177452f792f78bd /lib/libc/locale | |
parent | 924988b6ec2a9e6a026b5489028ad504451931ac (diff) |
observe the following spelling:
- wide character (noun)
- wide-character (adjective)
this is the "fix of least resistance", and appears to be in line with
posix style; a tiny fix still needed for curses, but i'll mail that
upstream;
Diffstat (limited to 'lib/libc/locale')
-rw-r--r-- | lib/libc/locale/iswalnum.3 | 6 | ||||
-rw-r--r-- | lib/libc/locale/mbsrtowcs.3 | 12 | ||||
-rw-r--r-- | lib/libc/locale/mbstowcs.3 | 10 | ||||
-rw-r--r-- | lib/libc/locale/towlower.3 | 6 | ||||
-rw-r--r-- | lib/libc/locale/wcsrtombs.3 | 10 | ||||
-rw-r--r-- | lib/libc/locale/wcstod.3 | 6 | ||||
-rw-r--r-- | lib/libc/locale/wcstol.3 | 6 | ||||
-rw-r--r-- | lib/libc/locale/wcstombs.3 | 10 |
8 files changed, 33 insertions, 33 deletions
diff --git a/lib/libc/locale/iswalnum.3 b/lib/libc/locale/iswalnum.3 index c5daa9c0268..4a0eae2cf85 100644 --- a/lib/libc/locale/iswalnum.3 +++ b/lib/libc/locale/iswalnum.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: iswalnum.3,v 1.2 2007/05/31 19:19:29 jmc Exp $ +.\" $OpenBSD: iswalnum.3,v 1.3 2010/09/10 18:38:19 jmc Exp $ .\" $NetBSD: iswalnum.3,v 1.8 2003/09/08 17:54:31 wiz Exp $ .\" .\" Copyright (c) 1991 The Regents of the University of California. @@ -34,7 +34,7 @@ .\" .\" @(#)isalnum.3 5.2 (Berkeley) 6/29/91 .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: September 10 2010 $ .Dt ISWALNUM 3 .Os .Sh NAME @@ -50,7 +50,7 @@ .Nm iswspace , .Nm iswupper , .Nm iswxdigit -.Nd wide character classification utilities +.Nd wide-character classification utilities .Sh SYNOPSIS .Fd #include <wctype.h> .Ft int diff --git a/lib/libc/locale/mbsrtowcs.3 b/lib/libc/locale/mbsrtowcs.3 index 72c8215aa0d..4f88fb7603c 100644 --- a/lib/libc/locale/mbsrtowcs.3 +++ b/lib/libc/locale/mbsrtowcs.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mbsrtowcs.3,v 1.2 2007/05/31 19:19:29 jmc Exp $ +.\" $OpenBSD: mbsrtowcs.3,v 1.3 2010/09/10 18:38:19 jmc Exp $ .\" $NetBSD: mbsrtowcs.3,v 1.6 2003/09/08 17:54:31 wiz Exp $ .\" .\" Copyright (c)2002 Citrus Project, @@ -25,13 +25,13 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: September 10 2010 $ .Dt MBSRTOWCS 3 .Os .\" ---------------------------------------------------------------------- .Sh NAME .Nm mbsrtowcs -.Nd converts a multibyte character string to a wide character string \ +.Nd converts a multibyte character string to a wide-character string \ (restartable) .\" ---------------------------------------------------------------------- .Sh SYNOPSIS @@ -45,7 +45,7 @@ The .Fn mbsrtowcs converts the multibyte character string indirectly pointed to by .Fa s -to the corresponding wide character string, and stores it in the +to the corresponding wide-character string, and stores it in the array pointed to by .Fa pwcs . The conversion stops due to the following reasons: @@ -101,7 +101,7 @@ These are the special cases: .It "s == NULL || *s == NULL" Undefined (may cause the program to crash). .It "pwcs == NULL" -The conversion hass taken place, but the resultant wide character string +The conversion has taken place, but the resultant wide-character string was discarded. In this case, the pointer object pointed to by .Fa s @@ -136,7 +136,7 @@ If .Fa pwcs is not null and the value returned is equal to .Fa n , -the wide character string pointed to by +the wide-character string pointed to by .Fa pwcs is not null terminated. If diff --git a/lib/libc/locale/mbstowcs.3 b/lib/libc/locale/mbstowcs.3 index 627f8aaa5d0..47a93981b93 100644 --- a/lib/libc/locale/mbstowcs.3 +++ b/lib/libc/locale/mbstowcs.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mbstowcs.3,v 1.2 2007/05/31 19:19:29 jmc Exp $ +.\" $OpenBSD: mbstowcs.3,v 1.3 2010/09/10 18:38:19 jmc Exp $ .\" $NetBSD: mbstowcs.3,v 1.6 2003/09/08 17:54:31 wiz Exp $ .\" .\" Copyright (c)2002 Citrus Project, @@ -25,13 +25,13 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: September 10 2010 $ .Dt MBSTOWCS 3 .Os .\" ---------------------------------------------------------------------- .Sh NAME .Nm mbstowcs -.Nd converts a multibyte character string to a wide character string +.Nd converts a multibyte character string to a wide-character string .\" ---------------------------------------------------------------------- .Sh SYNOPSIS .Fd #include <stdlib.h> @@ -43,7 +43,7 @@ The .Fn mbstowcs converts a null-terminated multibyte character string pointed to by .Fa s -to the corresponding wide character string and stores it in the array +to the corresponding wide-character string and stores it in the array pointed to by .Fa pwcs . This function may modify the first at most @@ -66,7 +66,7 @@ These are the special cases: .Bl -tag -width 012345678901 .It pwcs == NULL .Fn mbstowcs -returns the number of elements to store the whole wide character string +returns the number of elements to store the whole wide-character string corresponding to the multibyte character string pointed to by .Fa s . In this case, diff --git a/lib/libc/locale/towlower.3 b/lib/libc/locale/towlower.3 index 35f8eb15201..f491a8776e3 100644 --- a/lib/libc/locale/towlower.3 +++ b/lib/libc/locale/towlower.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: towlower.3,v 1.3 2007/05/31 19:19:29 jmc Exp $ +.\" $OpenBSD: towlower.3,v 1.4 2010/09/10 18:38:19 jmc Exp $ .\" $NetBSD: towlower.3,v 1.7 2003/09/08 17:54:31 wiz Exp $ .\" .\" Copyright (c) 1989, 1991 The Regents of the University of California. @@ -34,12 +34,12 @@ .\" .\" @(#)tolower.3 5.2 (Berkeley) 6/29/91 .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: September 10 2010 $ .Dt TOWLOWER 3 .Os .Sh NAME .Nm towlower -.Nd wide character case letter conversion utilities +.Nd wide-character case letter conversion utilities .Sh SYNOPSIS .In wctype.h .Ft wint_t diff --git a/lib/libc/locale/wcsrtombs.3 b/lib/libc/locale/wcsrtombs.3 index 722d30ac23a..012620ceb79 100644 --- a/lib/libc/locale/wcsrtombs.3 +++ b/lib/libc/locale/wcsrtombs.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wcsrtombs.3,v 1.2 2007/05/31 19:19:29 jmc Exp $ +.\" $OpenBSD: wcsrtombs.3,v 1.3 2010/09/10 18:38:19 jmc Exp $ .\" $NetBSD: wcsrtombs.3,v 1.6 2003/09/08 17:54:32 wiz Exp $ .\" .\" Copyright (c)2002 Citrus Project, @@ -25,13 +25,13 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: September 10 2010 $ .Dt WCSRTOMBS 3 .Os .\" ---------------------------------------------------------------------- .Sh NAME .Nm wcsrtombs -.Nd converts a wide character string to a multibyte character string \ +.Nd converts a wide-character string to a multibyte character string \ (restartable) .\" ---------------------------------------------------------------------- .Sh SYNOPSIS @@ -43,7 +43,7 @@ .Sh DESCRIPTION The .Fn wcsrtombs -converts the null-terminated wide character string indirectly pointed to by +converts the null-terminated wide-character string indirectly pointed to by .Fa pwcs to the corresponding multibyte character string, and store it to the array pointed to by @@ -103,7 +103,7 @@ These are the special cases: .It "s == NULL" .Fn wcsrtombs returns the number of bytes to store the whole multibyte character string -corresponding to the wide character string pointed to by +corresponding to the wide-character string pointed to by .Fa pwcs , not including the terminating null byte. In this case, diff --git a/lib/libc/locale/wcstod.3 b/lib/libc/locale/wcstod.3 index a2e0e79a44b..ed3fedce03d 100644 --- a/lib/libc/locale/wcstod.3 +++ b/lib/libc/locale/wcstod.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wcstod.3,v 1.1 2009/01/13 18:44:01 kettenis Exp $ +.\" $OpenBSD: wcstod.3,v 1.2 2010/09/10 18:38:19 jmc Exp $ .\" $NetBSD: wcstod.3,v 1.5 2007/05/21 15:29:51 tnozaki Exp $ .\" .\" Copyright (c) 2002, 2003 Tim J. Robbins @@ -27,14 +27,14 @@ .\" .\" $FreeBSD: wcstod.3,v 1.4 2003/05/22 13:02:27 ru Exp $ .\" -.Dd $Mdocdate: January 13 2009 $ +.Dd $Mdocdate: September 10 2010 $ .Dt WCSTOD 3 .Os .Sh NAME .Nm wcstod , .Nm wcstof , .Nm wcstold -.Nd convert wide character string to double, float or "long double" +.Nd convert wide-character string to double, float or "long double" .Sh SYNOPSIS .In wchar.h .Ft double diff --git a/lib/libc/locale/wcstol.3 b/lib/libc/locale/wcstol.3 index e8f1dedf14b..e28e261ed85 100644 --- a/lib/libc/locale/wcstol.3 +++ b/lib/libc/locale/wcstol.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wcstol.3,v 1.1 2008/12/20 23:08:08 kettenis Exp $ +.\" $OpenBSD: wcstol.3,v 1.2 2010/09/10 18:38:19 jmc Exp $ .\" $NetBSD: wcstol.3,v 1.2 2006/08/08 17:32:05 wiz Exp $ .\" .\" Copyright (c) 2002 Tim J. Robbins @@ -27,14 +27,14 @@ .\" .\" $FreeBSD: src/lib/libc/locale/wcstol.3,v 1.4 2002/11/29 17:35:09 ru Exp $ .\" -.Dd $Mdocdate: December 20 2008 $ +.Dd $Mdocdate: September 10 2010 $ .Dt WCSTOL 3 .Os .Sh NAME .Nm wcstol , wcstoul , .Nm wcstoll , wcstoull , .Nm wcstoimax , wcstoumax -.Nd "convert a wide character string value to a long, unsigned long," +.Nd "convert a wide-character string value to a long, unsigned long," long long, unsigned long long, intmax_t or uintmax_t integer .Sh SYNOPSIS .In wchar.h diff --git a/lib/libc/locale/wcstombs.3 b/lib/libc/locale/wcstombs.3 index 155dc9347ca..81ccc6086b4 100644 --- a/lib/libc/locale/wcstombs.3 +++ b/lib/libc/locale/wcstombs.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wcstombs.3,v 1.3 2007/05/31 19:19:29 jmc Exp $ +.\" $OpenBSD: wcstombs.3,v 1.4 2010/09/10 18:38:19 jmc Exp $ .\" $NetBSD: wcstombs.3,v 1.5 2003/09/08 17:54:32 wiz Exp $ .\" .\" Copyright (c)2002 Citrus Project, @@ -25,13 +25,13 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: September 10 2010 $ .Dt WCSTOMBS 3 .Os .\" ---------------------------------------------------------------------- .Sh NAME .Nm wcstombs -.Nd converts a wide character string to a multibyte character string +.Nd converts a wide-character string to a multibyte character string .\" ---------------------------------------------------------------------- .Sh SYNOPSIS .Fd #include <stdlib.h> @@ -40,7 +40,7 @@ .\" ---------------------------------------------------------------------- .Sh DESCRIPTION .Fn wcstombs -converts the null-terminated wide character string pointed to by +converts the null-terminated wide-character string pointed to by .Fa pwcs to the corresponding multibyte character string, and stores it in the array pointed to by @@ -73,7 +73,7 @@ There are special cases: The .Fn wcstombs returns the number of bytes to store the whole multibyte character string -corresponding to the wide character string pointed to by +corresponding to the wide-character string pointed to by .Fa pwcs . In this case, .Fa n |