summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2014-07-14 20:10:37 -0700
committerGarrett D'Amore <garrett@damore.org>2014-07-21 09:20:34 -0700
commit95c635efb7c3b86efc493e0447eaec7aecca3f0f (patch)
tree3c62b5521fea39ab7bab299052b02576ae802db9 /usr/src/man/man3c
parent81d43577d1b5e76e6016ba642ecc1a76fde43021 (diff)
downloadillumos-joyent-95c635efb7c3b86efc493e0447eaec7aecca3f0f.tar.gz
5025 import and use mandoc
Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Albert Lee <trisk@nexenta.com> Approved by: Dan McDonald <danmcd@omniti.com>
Diffstat (limited to 'usr/src/man/man3c')
-rw-r--r--usr/src/man/man3c/btowc.3c2
-rw-r--r--usr/src/man/man3c/fgetwc.3c2
-rw-r--r--usr/src/man/man3c/fopen.3c2
-rw-r--r--usr/src/man/man3c/iswctype.3c2
-rw-r--r--usr/src/man/man3c/mbrtowc.3c2
-rw-r--r--usr/src/man/man3c/mbsrtowcs.3c2
-rw-r--r--usr/src/man/man3c/newlocale.3c2
-rw-r--r--usr/src/man/man3c/strcoll.3c2
-rw-r--r--usr/src/man/man3c/string.3c2
-rw-r--r--usr/src/man/man3c/towlower.3c2
-rw-r--r--usr/src/man/man3c/uselocale.3c2
-rw-r--r--usr/src/man/man3c/wcscoll.3c2
-rw-r--r--usr/src/man/man3c/wcsrtombs.3c1
13 files changed, 12 insertions, 13 deletions
diff --git a/usr/src/man/man3c/btowc.3c b/usr/src/man/man3c/btowc.3c
index 56dc9e19a2..8bdc513aaf 100644
--- a/usr/src/man/man3c/btowc.3c
+++ b/usr/src/man/man3c/btowc.3c
@@ -35,7 +35,7 @@ state.
.LP
The behavior of \fBbtowc()\fR is affected by the \fBLC_CTYPE\fR category of the
current locale. See \fBenviron\fR(5). The function \fBbtowc_l()\fR does
-not use the current locale, and instead operates on the locale
+not use the current locale, and instead operates on the locale
specified by \fIloc\fR.
.SH RETURN VALUES
.LP
diff --git a/usr/src/man/man3c/fgetwc.3c b/usr/src/man/man3c/fgetwc.3c
index 8b75c6cc55..6044683813 100644
--- a/usr/src/man/man3c/fgetwc.3c
+++ b/usr/src/man/man3c/fgetwc.3c
@@ -36,7 +36,7 @@ character (if present) from the input stream pointed to by \fIstream\fR,
convert that to the corresponding wide-character code and advance the
associated file position indicator for the stream (if defined).
Whereas \fBfgetwc()\fR uses the current locale, \fBfgetwc_l()\fR uses the
-locale specified by \fIloc\R.
+locale specified by \fIloc\fR.
.LP
If an error occurs, the resulting value of the file position indicator for the
stream is indeterminate.
diff --git a/usr/src/man/man3c/fopen.3c b/usr/src/man/man3c/fopen.3c
index 2eaaf4dd87..0dfdcb4cc0 100644
--- a/usr/src/man/man3c/fopen.3c
+++ b/usr/src/man/man3c/fopen.3c
@@ -34,7 +34,7 @@ base sequences:
.sp
.ne 2
.na
-\fB\fBr\fR\fR
+\fB\fBr\fR\fR
.ad
.RS 20n
Open file for reading.
diff --git a/usr/src/man/man3c/iswctype.3c b/usr/src/man/man3c/iswctype.3c
index 9da9eef82a..d29414833e 100644
--- a/usr/src/man/man3c/iswctype.3c
+++ b/usr/src/man/man3c/iswctype.3c
@@ -42,7 +42,7 @@ These functions are defined on
and wide-character codes corresponding to the valid character encodings in the
current locale (or
.I loc
-for
+for
.BR iswctype_l() .)
If the
.I wc
diff --git a/usr/src/man/man3c/mbrtowc.3c b/usr/src/man/man3c/mbrtowc.3c
index 55e053570e..60f54b1925 100644
--- a/usr/src/man/man3c/mbrtowc.3c
+++ b/usr/src/man/man3c/mbrtowc.3c
@@ -81,7 +81,7 @@ is a null pointer, these functions use their own
internal
.B mbstate_t
object, which is initialized at program startup to the
-initial conversion state. Otherwise, the
+initial conversion state. Otherwise, the
.B mbstate_t
object pointed to by
.I ps
diff --git a/usr/src/man/man3c/mbsrtowcs.3c b/usr/src/man/man3c/mbsrtowcs.3c
index b645fe4942..f53f871343 100644
--- a/usr/src/man/man3c/mbsrtowcs.3c
+++ b/usr/src/man/man3c/mbsrtowcs.3c
@@ -135,7 +135,7 @@ The
.B mbsnrtowcs()
and
.B mbsrtowcs()
-functions are Standard. The
+functions are Standard. The
.B mbsnrtowcs_l()
and
.B mbsrtowcs_l()
diff --git a/usr/src/man/man3c/newlocale.3c b/usr/src/man/man3c/newlocale.3c
index 7fa9048211..3f0c652d5a 100644
--- a/usr/src/man/man3c/newlocale.3c
+++ b/usr/src/man/man3c/newlocale.3c
@@ -76,7 +76,7 @@ An alternate name fo the locale "C".
Indicates that the locale should be processed based in the values in the
environment. See
.BR setlocale (3C)
-and
+and
.BR environ (5)
for more information.
.LP
diff --git a/usr/src/man/man3c/strcoll.3c b/usr/src/man/man3c/strcoll.3c
index d1a3de385b..2cca905ec2 100644
--- a/usr/src/man/man3c/strcoll.3c
+++ b/usr/src/man/man3c/strcoll.3c
@@ -69,8 +69,6 @@ collating sequence.
.SH FILES
.IP \fB/usr/lib/locale/\fR\fIlocale\fR\fB/LC_COLLATE/*\fR
collation database for \fIlocale\fR
-.RE
-
.SH ATTRIBUTES
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
diff --git a/usr/src/man/man3c/string.3c b/usr/src/man/man3c/string.3c
index cd2dacbedf..4c31ca5f81 100644
--- a/usr/src/man/man3c/string.3c
+++ b/usr/src/man/man3c/string.3c
@@ -174,7 +174,7 @@ versions of \fBstrcmp()\fR and \fBstrncmp()\fR respectively, described below.
The \fBstrcasecmp()\fR and \fBstrncasecmp()\fR functions compare two strings
byte-by-byte, after
converting each upper-case character to lower-case (as determined by the
-\fBLC_CTYPE\fR category of the current locale). Note that neither the contents
+\fBLC_CTYPE\fR category of the current locale). Note that neither the contents
pointed to by \fIs1\fR nor \fIs2\fR are modified.
.LP
The functions return an integer
diff --git a/usr/src/man/man3c/towlower.3c b/usr/src/man/man3c/towlower.3c
index e0024720b4..f642d222a0 100644
--- a/usr/src/man/man3c/towlower.3c
+++ b/usr/src/man/man3c/towlower.3c
@@ -26,7 +26,7 @@ towlower, towlower_l \- transliterate upper-case wide characters to lower-case
.LP
.nf
\fBwint_t\fR \fBtowlower_l\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
-.nf
+.fi
.SH DESCRIPTION
The function
.BR towlower()
diff --git a/usr/src/man/man3c/uselocale.3c b/usr/src/man/man3c/uselocale.3c
index ca2d034c6e..a97bfec114 100644
--- a/usr/src/man/man3c/uselocale.3c
+++ b/usr/src/man/man3c/uselocale.3c
@@ -34,7 +34,7 @@ a thread is created, it uses the global locale as specified by calls to
.LP
If
.BR (locale_t) 0
-is supplied for
+is supplied for
.IR loc ,
then no change is made to the thread's locale setting. This can be used
to query the thread's locale without making any change.
diff --git a/usr/src/man/man3c/wcscoll.3c b/usr/src/man/man3c/wcscoll.3c
index f7d88a7519..59f8d18800 100644
--- a/usr/src/man/man3c/wcscoll.3c
+++ b/usr/src/man/man3c/wcscoll.3c
@@ -50,7 +50,7 @@ integer greater than, equal to, or less than 0, depending upon whether the wide
character string pointed to by \fIws1\fR is greater than, equal to, or less
than the wide character string pointed to by \fIws2\fR, when both are
interpreted as appropriate to the the current locale, or the locale
-specified by \fIloc\fR. On error,
+specified by \fIloc\fR. On error,
they set \fBerrno\fR, but no return value is reserved to indicate an error.
.SH ERRORS
.LP
diff --git a/usr/src/man/man3c/wcsrtombs.3c b/usr/src/man/man3c/wcsrtombs.3c
index 4068427f8a..87c6f4c78e 100644
--- a/usr/src/man/man3c/wcsrtombs.3c
+++ b/usr/src/man/man3c/wcsrtombs.3c
@@ -24,6 +24,7 @@ wcsnrtombs, wcsnrtombs_l, wcsrtombs, wcsrtombs_l \- convert a wide-character str
.nf
\fBsize_t\fR \fBwcsnrtombs\fR(\fBchar *restrict\fR \fIdst\fR, \fBconst wchar_t **restrict\fR \fIsrc\fR,
\fBsize_t\fR \fInwc\fR, \fBsize_t\fR \fIlen\fR, \fBmbstate_t *restrict\fR \fIps\fR);
+.fi
.LP
.nf
#include <wchar.h>