Writes all buffers of the file identified by refnum to disk and updates the directory entry of the file associated with refnum.

The file remains open, and refnum remains valid. Data written to a file often resides in a buffer until the buffer fills up or until you close the file. This function forces the operating system to write any buffer data to the file.


icon

Inputs/Outputs

  • cbsrn.png refnum

    refnum is the file refnum associated with the file you want to flush.

  • cerrcodeclst.png error in

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • ibsrn.png refnum out

    refnum out returns refnum unchanged.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.