aboutsummaryrefslogtreecommitdiffstats
path: root/man3/stdio_ext.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/stdio_ext.3')
-rw-r--r--man3/stdio_ext.320
1 files changed, 10 insertions, 10 deletions
diff --git a/man3/stdio_ext.3 b/man3/stdio_ext.3
index afbf6849c8..e61cd55b29 100644
--- a/man3/stdio_ext.3
+++ b/man3/stdio_ext.3
@@ -56,46 +56,46 @@ Solaris introduced routines to allow portable access to the
internals of the
.I FILE
structure, and glibc also implemented these.
-.LP
+.PP
The
.BR __fbufsize ()
function returns the size of the buffer currently used
by the given stream.
-.LP
+.PP
The
.BR __fpending ()
function returns the number of bytes in the output buffer.
For wide-oriented streams the unit is wide characters.
This function is undefined on buffers in reading mode,
or opened read-only.
-.LP
+.PP
The
.BR __flbf ()
function returns a nonzero value if the stream is line-buffered,
and zero otherwise.
-.LP
+.PP
The
.BR __freadable ()
function returns a nonzero value if the stream allows reading,
and zero otherwise.
-.LP
+.PP
The
.BR __fwritable ()
function returns a nonzero value if the stream allows writing,
and zero otherwise.
-.LP
+.PP
The
.BR __freading ()
function returns a nonzero value if the stream is read-only, or
if the last operation on the stream was a read operation,
and zero otherwise.
-.LP
+.PP
The
.BR __fwriting ()
function returns a nonzero value if the stream is write-only (or
append-only), or if the last operation on the stream was a write
operation, and zero otherwise.
-.LP
+.PP
The
.BR __fsetlocking ()
function can be used to select the desired type of locking on the stream.
@@ -119,13 +119,13 @@ will not do locking until the state is reset to
.B FSETLOCKING_QUERY
Don't change the type of locking.
(Only return it.)
-.LP
+.PP
The
.BR _flushlbf ()
function flushes all line-buffered streams.
(Presumably so that
output to a terminal is forced out, say before reading keyboard input.)
-.LP
+.PP
The
.BR __fpurge ()
function discards the contents of the stream's buffer.