]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/fwide.3
Wrapped long lines, wrapped at sentence boundaries; stripped trailing
[thirdparty/man-pages.git] / man3 / fwide.3
index dfd931febfab311851051b0d2ddfffb7976543a7..36d67dd0fd0d56805cf56922339c2472917b881d 100644 (file)
@@ -22,10 +22,13 @@ fwide \- set and determine the orientation of a FILE stream
 .fi
 .SH DESCRIPTION
 When \fImode\fP is zero, the \fBfwide\fP() function determines the current
-orientation of \fIstream\fP. It returns a value > 0 if \fIstream\fP is
+orientation of \fIstream\fP.
+It returns a value > 0 if \fIstream\fP is
 wide-character oriented, i.e. if wide character I/O is permitted but char
-I/O is disallowed. It returns a value < 0 if \fIstream\fP is byte oriented,
-i.e. if char I/O is permitted but wide character I/O is disallowed. It
+I/O is disallowed.
+It returns a value < 0 if \fIstream\fP is byte oriented,
+i.e. if char I/O is permitted but wide character I/O is disallowed.
+It
 returns zero if \fIstream\fP has no orientation yet; in this case the next
 I/O operation might change the orientation (to byte oriented if it is a char
 I/O operation, or to wide-character oriented if it is a wide character I/O
@@ -36,12 +39,16 @@ the stream is closed.
 .PP
 When \fImode\fP is non-zero, the \fBfwide\fP() function first attempts to set
 \fIstream\fP's orientation (to wide-character oriented if \fImode\fP > 0, or
-to byte oriented if \fImode\fP < 0). It then returns a value denoting the
+to byte oriented if \fImode\fP < 0).
+It then returns a value denoting the
 current orientation, as above.
 .SH "RETURN VALUE"
 The \fBfwide\fP() function returns the stream's orientation, after possibly
-changing it. A return value > 0 means wide-character oriented. A return value
-< 0 means byte oriented. A return value of zero means undecided.
+changing it.
+A return value > 0 means wide-character oriented.
+A return value
+< 0 means byte oriented.
+A return value of zero means undecided.
 .SH "CONFORMING TO"
 C99, POSIX.1-2001.
 .SH "SEE ALSO"