summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c/getwchar.3c
diff options
context:
space:
mode:
authorPeter Tribble <peter.tribble@gmail.com>2021-07-05 18:51:02 +0100
committerPeter Tribble <peter.tribble@gmail.com>2021-07-06 08:00:46 +0100
commit3a18338393f3485e50eae6288b6a9ab89e9f715a (patch)
treee5b72414175e8adb841c21a67e2dadecb502b5c2 /usr/src/man/man3c/getwchar.3c
parent88e8a81ba29ce242b8e7eade29af1f3d301ac525 (diff)
downloadillumos-joyent-3a18338393f3485e50eae6288b6a9ab89e9f715a.tar.gz
13890 Some manual pages miss spaces next to formatting
Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/man/man3c/getwchar.3c')
-rw-r--r--usr/src/man/man3c/getwchar.3c11
1 files changed, 2 insertions, 9 deletions
diff --git a/usr/src/man/man3c/getwchar.3c b/usr/src/man/man3c/getwchar.3c
index d2f150ae2b..e9c48c1231 100644
--- a/usr/src/man/man3c/getwchar.3c
+++ b/usr/src/man/man3c/getwchar.3c
@@ -44,11 +44,10 @@
.\" Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved
.\" Copyright 2014 Garrett D'Amore <garrett@damore.org>
.\"
-.TH GETWCHAR 3C "Jul 24, 2002"
+.TH GETWCHAR 3C "June 20, 2021"
.SH NAME
getwchar \- get wide character from stdin stream
.SH SYNOPSIS
-.LP
.nf
#include <wchar.h>
@@ -62,24 +61,19 @@ getwchar \- get wide character from stdin stream
\fBwint_t\fR \fBgetwchar_l\fR(locale_t loc)
.fi
.SH DESCRIPTION
-.LP
The \fBgetwchar()\fR function is equivalent to \fBgetwc\fR(\fBstdin\fR).
.LP
-The\fBgetwchar_l()\fR function is equivalent to \fBgetwc\fR(\fBstdin\fR, \fIloc\fR).
+The \fBgetwchar_l()\fR function is equivalent to \fBgetwc\fR(\fBstdin\fR, \fIloc\fR).
.SH RETURN VALUES
-.LP
Refer to \fBfgetwc\fR(3C).
.SH ERRORS
-.LP
Refer to \fBfgetwc\fR(3C).
.SH USAGE
-.LP
If the \fBwint_t\fR value returned by \fBgetwchar()\fR is stored into a
variable of type \fBwchar_t\fR and then compared against the \fBwint_t\fR macro
\fBWEOF\fR, the comparison may never succeed because \fBwchar_t\fR is defined
as unsigned.
.SH ATTRIBUTES
-.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.TS
box;
@@ -96,5 +90,4 @@ MT-Level MT-Safe
The \fBgetwchar()\fR function is Standard. The \fBgetwchar_l()\fR function
is Uncommitted.
.SH SEE ALSO
-.LP
\fBfgetwc\fR(3C), \fBgetwc\fR(3C), \fBattributes\fR(5), \fBstandards\fR(5)