user/lib/libc/src/file/fflush.c
/**
 * Flushes all output buffers in the given file pointer.
 */
Flushes all output buffers in the given file pointer.
Flushes all output buffers in the given file pointer .
int fflush(FILE *file) {
    if(!file) {
        return -1;
    }
    return file->flush(file);
}
int fflush ( FILE * file ) { if ( ! file ) { return -1 ; } return file -> flush ( file ) ; }
Flushes all output buffers in the given file pointer.
Flushes all output buffers in the given file pointer .
// if null, we should flush ALL streams // otherwise, just flush this stream