Previous External Development Guide: IDL Internals: Files and Input/Output Next

Flushing Buffered Data

IDL_FileFlushUnit()

File data might be buffered in system memory in order to boost input/output performance. The IDL_FileFlushUnit() function forces any buffered data for the file specified by the Logical Unit Number unit to be written out:

int IDL_FileFlushUnit(int unit)  

unit

The Logical Unit Number (LUN) of the file in question.

  IDL Online Help (March 06, 2007)