Flush output to file descriptor fid.
fflush
returns 0 on success and an OS dependent error value
(-1 on Unix) on error.
Programming Note: Flushing is useful for ensuring that all pending output
makes it to the screen before some other event occurs. For example, it is
always a good idea to flush the standard output stream before calling
input
.
See also: fopen, fclose.
Package: octave