See https://bugzilla.kernel.org/show_bug.cgi?id=91931
Reported-by: Sergey V. Zubkov <cubbi@cubbi.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
forces a write of all user-space buffered data for the given output or update
.I stream
via the stream's underlying write function.
-For input streams,
+
+For input streams associated with seekable files
+(e.g., disk files, but not pipes or terminals),
.BR fflush ()
discards any buffered data that has been fetched from the underlying file,
but has not been consumed by the application.
+
The open status of the stream is unaffected.
.PP
If the