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 f996b4761d..ab6c872357 100644
--- a/man3/stdio_ext.3
+++ b/man3/stdio_ext.3
@@ -52,46 +52,46 @@ Solaris introduced routines to allow portable access to the
internals of the FILE structure, and glibc also implemented these.
.LP
The
-.B __fbufsize()
+.BR __fbufsize ()
function returns the size of the buffer currently used
by the given stream.
.LP
The
-.B __fpending()
+.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
The
-.B __flbf()
+.BR __flbf ()
function returns a non-zero value if the stream is line-buffered,
and zero otherwise.
.LP
The
-.B __freadable()
+.BR __freadable ()
function returns a non-zero value if the stream allows reading,
and zero otherwise.
.LP
The
-.B __fwritable()
+.BR __fwritable ()
function returns a non-zero value if the stream allows writing,
and zero otherwise.
.LP
The
-.B __freading()
+.BR __freading ()
function returns a non-zero value if the stream is read-only, or
if the last operation on the stream was a read operation,
and zero otherwise.
.LP
The
-.B __fwriting()
+.BR __fwriting ()
function returns a non-zero 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
The
-.B __fsetlocking()
+.BR __fsetlocking ()
function can be used to select the desired type of locking on the stream.
It returns the current type. The
.I type
@@ -111,12 +111,12 @@ will not do locking until the state is reset to FSETLOCKING_INTERNAL.
Don't change the type of locking. (Only return it.)
.LP
The
-.B _flushlbf()
+.BR _flushlbf ()
function flushes all line-buffered streams. (Presumably so that
output to a terminal is forced out, say before reading keyboard input.)
.LP
The
-.B __fpurge()
+.BR __fpurge ()
function discards the contents of the stream's buffer.
.SH "SEE ALSO"
.BR flockfile (3),