summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMike Pritchard <mpp@FreeBSD.org>1997-02-06 13:38:34 +0000
committerMike Pritchard <mpp@FreeBSD.org>1997-02-06 13:38:34 +0000
commit7eceaf671495151aa5e6c2f0aeba06a046dc3a96 (patch)
treea48a0d9786bba4692db265a0273e465d47335836 /lib
parent13e681f359c5262368b09542d8f975c17dd3e0b9 (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/locale/rune.313
-rw-r--r--lib/libc/locale/setlocale.310
2 files changed, 13 insertions, 10 deletions
diff --git a/lib/libc/locale/rune.3 b/lib/libc/locale/rune.3
index 659133f1febd..cab767d9b8f2 100644
--- a/lib/libc/locale/rune.3
+++ b/lib/libc/locale/rune.3
@@ -54,7 +54,7 @@
.Fn sgetrune "const char *string" "size_t n" "char const **result"
.Ft int
.Fn sputrune "rune_t rune" "char *string" "size_t n" "char **result"
-.sp
+.Pp
.Fd #include <stdio.h>
.Ft long
.Fn fgetrune "FILE *stream"
@@ -67,7 +67,7 @@ The
.Fn setrunelocale
controls the type of encoding used to represent runes as multibyte strings
as well as the properties of the runes as defined in
-\fB<ctype.h>\fP.
+.Aq Pa ctype.h .
The
.Fa locale
argument indicates which locale to load.
@@ -233,14 +233,15 @@ function returns the number of bytes needed to store
as a multibyte string.
.Sh FILES
.Bl -tag -width /usr/share/locale/locale/LC_CTYPE -compact
-.It Pa $PATH_LOCALE/\fIlocale\fP/LC_CTYPE
-.It Pa /usr/share/locale/\fIlocale\fP/LC_CTYPE
-binary LC_CTYPE file for the locale \fIlocale\fP.
+.\" .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
+.Em locale .
.El
.Sh "SEE ALSO
-.Xr euc 4 ,
.Xr mbrune 3 ,
.Xr setlocale 3 ,
+.Xr euc 4 ,
.Xr utf2 4
.Sh NOTE
The ANSI C type
diff --git a/lib/libc/locale/setlocale.3 b/lib/libc/locale/setlocale.3
index 244c0be66f9e..695112db5767 100644
--- a/lib/libc/locale/setlocale.3
+++ b/lib/libc/locale/setlocale.3
@@ -271,10 +271,12 @@ or
.Fn localeconv .
.Sh FILES
.Bl -tag -width /usr/share/locale/locale/category -compact
-.It Pa $PATH_LOCALE/\fIlocale\fP/\fIcategory\fP
-.It Pa /usr/share/locale/\fIlocale\fP/\fIcategory\fP
-locale file for the locale \fIlocale\fP
-and the category \fIcategory\fP.
+.\" .It Pa $PATH_LOCALE/ Ns Em locale/category
+.It Pa /usr/share/locale/ Ns Em locale/category
+locale file for the locale
+.Em locale
+and the category
+.Em category .
.El
.Sh "SEE ALSO
.Xr colldef 1 ,