fflush

Syntax

native fflush(file);

Usage

file
File handle, or 0 for all open streams.

Description

Flushes a buffered output stream.

Return

0 on success, -1 on failure.