fflush method

int fflush(
  1. FILE stream
)

Flushes a file stream.

Implementation

int fflush(FILE stream) {
  try {
    stream._raf.flushSync();
    return 0;
  } catch (e) {
    return EOF;
  }
}