Files
calc/help/fflush
2017-05-21 15:38:35 -07:00

29 lines
501 B
Plaintext

NAME
fflush - flush output to file
SYNOPSIS
fflush(fd)
TYPES
fd file
return nil
DESCRIPTION
This function forces a buffered output to the file associated with fd.
EXAMPLE
> fd = fopen("/tmp/file", "w")
> fputc(fd, "@");
> fflush(fd)
LIMITS
fd must be associated with an open file
LIBRARY
none
SEE ALSO
errno, fclose, feof, ferror, fflush, fgetc, fgetline, fgets, files, fopen,
fprintf, fputc, fputs, fseek, fsize, ftell, isfile, printf, prompt