fileFlush
Compartilhado
Grava no disco o que foi escrito no arquivo e ainda está em memória.
bool fileFlush(file file)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
| file | file | Um arquivo aberto por fileOpen ou fileCreate. |
Retorno
true se deu certo.
Exemplo
fileWrite(log, "checkpoint\n")
fileFlush(log)