Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/locale Typo and grammar fixes. Sort SEE ALSO. Use m...
details: https://anonhg.NetBSD.org/src/rev/5aba80b899b8
branches: trunk
changeset: 545739:5aba80b899b8
user: wiz <wiz%NetBSD.org@localhost>
date: Wed Apr 16 08:36:54 2003 +0000
description:
Typo and grammar fixes. Sort SEE ALSO. Use more mdoc.
diffstat:
lib/libc/locale/iswctype.3 | 7 +++----
lib/libc/locale/towctrans.3 | 25 ++++++++++++++-----------
lib/libc/locale/wctrans.3 | 19 ++++++++++---------
lib/libc/locale/wctype.3 | 22 ++++++++++++----------
4 files changed, 39 insertions(+), 34 deletions(-)
diffs (214 lines):
diff -r 2e66cf36a8d1 -r 5aba80b899b8 lib/libc/locale/iswctype.3
--- a/lib/libc/locale/iswctype.3 Wed Apr 16 08:07:51 2003 +0000
+++ b/lib/libc/locale/iswctype.3 Wed Apr 16 08:36:54 2003 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: iswctype.3,v 1.3 2003/03/17 08:49:46 wiz Exp $
+.\" $NetBSD: iswctype.3,v 1.4 2003/04/16 08:36:54 wiz Exp $
.\"
.\" Copyright (c)2003 Citrus Project,
.\" All rights reserved.
@@ -50,8 +50,7 @@
.Pp
The behaviour of the
.Fn iswctype
-is undefined
-if the
+is undefined if the
.Fn iswctype
function is called with an invalid
.Fa charclass
@@ -59,7 +58,7 @@
.Dv LC_CTYPE
category invalidate
.Fa charclass )
-or invalid wide character as
+or invalid wide character
.Fa wc .
.Pp
The behaviour of the
diff -r 2e66cf36a8d1 -r 5aba80b899b8 lib/libc/locale/towctrans.3
--- a/lib/libc/locale/towctrans.3 Wed Apr 16 08:07:51 2003 +0000
+++ b/lib/libc/locale/towctrans.3 Wed Apr 16 08:36:54 2003 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: towctrans.3,v 1.2 2003/03/17 08:41:31 wiz Exp $
+.\" $NetBSD: towctrans.3,v 1.3 2003/04/16 08:36:55 wiz Exp $
.\"
.\" Copyright (c)2003 Citrus Project,
.\" All rights reserved.
@@ -30,7 +30,7 @@
.\" ----------------------------------------------------------------------
.Sh NAME
.Nm towctrans
-.Nd conver a wide character with a specified map
+.Nd convert a wide character with a specified map
.\" ----------------------------------------------------------------------
.Sh LIBRARY
.Lb libc
@@ -50,33 +50,36 @@
.Pp
The behaviour of the
.Fn towctrans
-is undefined
-if the
+is undefined if the
.Fn towctrans
function is called with an invalid
.Fa charmap
-(changes of LC_CTYPE category invalidate
+(changes of
+.Dv LC_CTYPE
+category invalidate
.Fa charclass )
-or invalid wide character as
+or invalid wide character
.Fa wc .
.Pp
The behaviour of the
.Fn towctrans
-is affected by LC_CTYPE category of the current locale.
+is affected by the
+.Dv LC_CTYPE
+category of the current locale.
.\" ----------------------------------------------------------------------
.Sh RETURN VALUES
The
.Fn towctrans
-returns a result character of the conversion.
+returns the result character of the conversion.
.\" ----------------------------------------------------------------------
.Sh ERRORS
No errors are defined.
.\" ----------------------------------------------------------------------
.Sh SEE ALSO
+.Xr iswctype 3 ,
+.Xr setlocale 3 ,
.Xr wctrans 3 ,
-.Xr wctype 3 ,
-.Xr iswctype 3 ,
-.Xr setlocale 3
+.Xr wctype 3
.\" ----------------------------------------------------------------------
.Sh STANDARDS
The
diff -r 2e66cf36a8d1 -r 5aba80b899b8 lib/libc/locale/wctrans.3
--- a/lib/libc/locale/wctrans.3 Wed Apr 16 08:07:51 2003 +0000
+++ b/lib/libc/locale/wctrans.3 Wed Apr 16 08:36:54 2003 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: wctrans.3,v 1.1 2003/03/04 12:11:52 tshiozak Exp $
+.\" $NetBSD: wctrans.3,v 1.2 2003/04/16 08:36:55 wiz Exp $
.\"
.\" Copyright (c)2003 Citrus Project,
.\" All rights reserved.
@@ -44,7 +44,7 @@
The
.Fn wctrans
function returns a character mapping identifier corresponding to the
-locale-specific character mapping name, pointed by
+locale-specific character mapping name
.Fa charmap .
This identifier can be used on the subsequent calls of
.Fn towctrans .
@@ -55,7 +55,9 @@
.Pp
The behaviour of the
.Fn wctrans
-is affected by LC_CTYPE category of the current locale.
+is affected by the
+.Dv LC_CTYPE
+category of the current locale.
.\" ----------------------------------------------------------------------
.Sh RETURN VALUES
The
@@ -63,24 +65,23 @@
returns:
.Bl -tag -width 012345678901
.It 0
-if the string pointed by
+if the string
.Fa charmap
does not corresponding to a valid character mapping name.
.It non-zero
-an character mapping identifier corresponding to the name pointed by
+a character mapping identifier corresponding to
.Fa charmap .
.El
.Pp
-note: wctype_t is a scalar type, e.g. pointer.
+Note: wctype_t is a scalar type, e.g., a pointer.
.\" ----------------------------------------------------------------------
.Sh ERRORS
No errors are defined.
.\" ----------------------------------------------------------------------
.Sh SEE ALSO
-.Xr wctrans 3 ,
-.Xr wctype 3 ,
.Xr iswctype 3 ,
-.Xr setlocale 3
+.Xr setlocale 3 ,
+.Xr wctype 3
.\" ----------------------------------------------------------------------
.Sh STANDARDS
The
diff -r 2e66cf36a8d1 -r 5aba80b899b8 lib/libc/locale/wctype.3
--- a/lib/libc/locale/wctype.3 Wed Apr 16 08:07:51 2003 +0000
+++ b/lib/libc/locale/wctype.3 Wed Apr 16 08:36:54 2003 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: wctype.3,v 1.2 2003/03/17 08:41:31 wiz Exp $
+.\" $NetBSD: wctype.3,v 1.3 2003/04/16 08:36:55 wiz Exp $
.\"
.\" Copyright (c)2003 Citrus Project,
.\" All rights reserved.
@@ -44,9 +44,9 @@
The
.Fn wctype
function returns a character class identifier corresponding to the
-locale-specific character class name, pointed by
+locale-specific character class name
.Fa charclass .
-This identifier can be used on the subsequent calls of
+This identifier can be used in subsequent calls of
.Fn iswctype .
The following names are defined in all locales:
.Bd -literal -offset indent
@@ -56,7 +56,9 @@
.Pp
The behaviour of the
.Fn wctype
-is affected by LC_CTYPE category of the current locale.
+is affected by the
+.Dv LC_CTYPE
+category of the current locale.
.\" ----------------------------------------------------------------------
.Sh RETURN VALUES
The
@@ -64,24 +66,24 @@
returns:
.Bl -tag -width 012345678901
.It 0
-if the string pointed by
+if
.Fa charclass
-does not corresponding to a valid character class name.
+does not correspond to a valid character class name.
.It non-zero
-an character class identifier corresponding to the name pointed by
+a character class identifier corresponding to
.Fa charclass .
.El
.Pp
-note: wctype_t is a scalar type, e.g. pointer.
+Note: wctype_t is a scalar type, e.g., a pointer.
.\" ----------------------------------------------------------------------
.Sh ERRORS
No errors are defined.
.\" ----------------------------------------------------------------------
.Sh SEE ALSO
.Xr iswctype 3 ,
-.Xr wctrans 3 ,
+.Xr setlocale 3 ,
.Xr towctrans 3 ,
-.Xr setlocale 3
+.Xr wctrans 3
.\" ----------------------------------------------------------------------
.Sh STANDARDS
The
Home |
Main Index |
Thread Index |
Old Index