summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/locale')
-rw-r--r--lib/libc/locale/euc.420
-rw-r--r--lib/libc/locale/euc.520
-rw-r--r--lib/libc/locale/isalnum.32
-rw-r--r--lib/libc/locale/isalpha.32
-rw-r--r--lib/libc/locale/isascii.32
-rw-r--r--lib/libc/locale/mbrune.34
-rw-r--r--lib/libc/locale/multibyte.32
-rw-r--r--lib/libc/locale/rune.310
-rw-r--r--lib/libc/locale/setlocale.34
-rw-r--r--lib/libc/locale/toupper.32
10 files changed, 34 insertions, 34 deletions
diff --git a/lib/libc/locale/euc.4 b/lib/libc/locale/euc.4
index ce319ba..548d9ca 100644
--- a/lib/libc/locale/euc.4
+++ b/lib/libc/locale/euc.4
@@ -42,18 +42,18 @@
.Nm euc
.Nd EUC encoding of runes
.Sh SYNOPSIS
-.Nm ENCODING
+.Nm ENCODING
.Qq EUC
.Pp
.Nm VARIABLE
-.Ar len1
-.Ar mask1
-.Ar len2
-.Ar mask2
-.Ar len3
-.Ar mask3
-.Ar len4
-.Ar mask4
+.Ar len1
+.Ar mask1
+.Ar len2
+.Ar mask2
+.Ar len3
+.Ar mask3
+.Ar len4
+.Ar mask4
.Ar mask
.Sh DESCRIPTION
The
@@ -85,7 +85,7 @@ A multibyte character in the fourth codeset consists of
.Ar len4
bytes starting with the byte 0x8f.
.Pp
-The
+The
.Ev rune_t
encoding of
.Nm EUC
diff --git a/lib/libc/locale/euc.5 b/lib/libc/locale/euc.5
index ce319ba..548d9ca 100644
--- a/lib/libc/locale/euc.5
+++ b/lib/libc/locale/euc.5
@@ -42,18 +42,18 @@
.Nm euc
.Nd EUC encoding of runes
.Sh SYNOPSIS
-.Nm ENCODING
+.Nm ENCODING
.Qq EUC
.Pp
.Nm VARIABLE
-.Ar len1
-.Ar mask1
-.Ar len2
-.Ar mask2
-.Ar len3
-.Ar mask3
-.Ar len4
-.Ar mask4
+.Ar len1
+.Ar mask1
+.Ar len2
+.Ar mask2
+.Ar len3
+.Ar mask3
+.Ar len4
+.Ar mask4
.Ar mask
.Sh DESCRIPTION
The
@@ -85,7 +85,7 @@ A multibyte character in the fourth codeset consists of
.Ar len4
bytes starting with the byte 0x8f.
.Pp
-The
+The
.Ev rune_t
encoding of
.Nm EUC
diff --git a/lib/libc/locale/isalnum.3 b/lib/libc/locale/isalnum.3
index 4a69ff9..6b239aa 100644
--- a/lib/libc/locale/isalnum.3
+++ b/lib/libc/locale/isalnum.3
@@ -51,7 +51,7 @@
.Sh DESCRIPTION
The
.Fn isalnum
-function tests for any character for which
+function tests for any character for which
.Xr isalpha 3
or
.Xr isdigit 3
diff --git a/lib/libc/locale/isalpha.3 b/lib/libc/locale/isalpha.3
index 80953cd..54d7e206 100644
--- a/lib/libc/locale/isalpha.3
+++ b/lib/libc/locale/isalpha.3
@@ -46,7 +46,7 @@
.Lb libc
.Sh SYNOPSIS
.Fd #include <ctype.h>
-.Ft int
+.Ft int
.Fn isalpha "int c"
.Sh DESCRIPTION
The
diff --git a/lib/libc/locale/isascii.3 b/lib/libc/locale/isascii.3
index 027f794..0a67f79 100644
--- a/lib/libc/locale/isascii.3
+++ b/lib/libc/locale/isascii.3
@@ -49,7 +49,7 @@ The
.Fn isascii
function tests for an
.Tn ASCII
-character, which is any character
+character, which is any character
between 0 and octal 0177 inclusive.
.Sh SEE ALSO
.Xr ctype 3 ,
diff --git a/lib/libc/locale/mbrune.3 b/lib/libc/locale/mbrune.3
index 680b01e..959f839 100644
--- a/lib/libc/locale/mbrune.3
+++ b/lib/libc/locale/mbrune.3
@@ -133,11 +133,11 @@ if the character does not appear in the string.
The
.Fn mbmb
function
-returns a pointer to the
+returns a pointer to the
.Fa pattern ,
or
.Dv NULL
-if the
+if the
.Fa pattern
does not appear in the string.
.Sh "SEE ALSO
diff --git a/lib/libc/locale/multibyte.3 b/lib/libc/locale/multibyte.3
index a78a4a2..52ee84e 100644
--- a/lib/libc/locale/multibyte.3
+++ b/lib/libc/locale/multibyte.3
@@ -164,7 +164,7 @@ the result in
.Fa mbchar .
The object pointed to by
.Fa mbchar
-must be large enough to accommodate the multibyte character.
+must be large enough to accommodate the multibyte character.
.Pp
The
.Fn mbstowcs
diff --git a/lib/libc/locale/rune.3 b/lib/libc/locale/rune.3
index a945274..04bbdc7 100644
--- a/lib/libc/locale/rune.3
+++ b/lib/libc/locale/rune.3
@@ -119,7 +119,7 @@ will point to
If there is an encoding error at the start of
.Fa string ,
.Dv _INVALID_RUNE
-is returned and
+is returned and
.Fa *result
will point to the second character of
.Fa string .
@@ -160,7 +160,7 @@ is not
.Fa *result
will be set to
.Dv NULL .
-In all cases,
+In all cases,
.Fn sputrune
will return the number of bytes which would be needed to store
.Fa rune
@@ -170,7 +170,7 @@ The
.Fn fgetrune
function operates the same as
.Fn sgetrune
-with the exception that it attempts to read enough bytes from
+with the exception that it attempts to read enough bytes from
.Fa stream
to decode a single rune. It returns either
.Dv EOF
@@ -185,7 +185,7 @@ function pushes the multibyte encoding, as provided by
of
.Fa rune
onto
-.Fa stream
+.Fa stream
such that the next
.Fn fgetrune
call will return
@@ -242,7 +242,7 @@ as a multibyte string.
.Bl -tag -width /usr/share/locale/locale/LC_CTYPE -compact
.It Pa $PATH_LOCALE/ Ns Em locale Ns /LC_CTYPE
.It Pa /usr/share/locale/ Ns Em locale Ns /LC_CTYPE
-binary LC_CTYPE file for the locale
+binary LC_CTYPE file for the locale
.Em locale .
.El
.Sh SEE ALSO
diff --git a/lib/libc/locale/setlocale.3 b/lib/libc/locale/setlocale.3
index 5c1659a..8f987e6 100644
--- a/lib/libc/locale/setlocale.3
+++ b/lib/libc/locale/setlocale.3
@@ -286,9 +286,9 @@ or
.Bl -tag -width /usr/share/locale/locale/category -compact
.It Pa $PATH_LOCALE/ Ns Em locale/category
.It Pa /usr/share/locale/ Ns Em locale/category
-locale file for the locale
+locale file for the locale
.Em locale
-and the category
+and the category
.Em category .
.El
.Sh SEE ALSO
diff --git a/lib/libc/locale/toupper.3 b/lib/libc/locale/toupper.3
index 337a205..f9734e2 100644
--- a/lib/libc/locale/toupper.3
+++ b/lib/libc/locale/toupper.3
@@ -51,7 +51,7 @@
.Sh DESCRIPTION
The
.Fn toupper
-function converts a lower-case letter to the corresponding
+function converts a lower-case letter to the corresponding
upper-case letter.
For single C
.Va char Ns s
OpenPOWER on IntegriCloud