SysFileFlush (FUN)
FUNCTION SysFileFlush : RTS_IEC_RESULT
Flush the file cache and write into the file
- InOut:
Scope
Name
Type
Comment
Return
SysFileFlushRTS_IEC_RESULTReturns the runtime system error code (see CmpErrors_Itfs.library):
ERR_OK: Succeeded flushing the file
ERR_FAILED: Error occurred during file flush
ERR_NOTIMPLEMENTED: File flush is not implemented
ERR_NOT_SUPPORTED: File flush not available on the target
Input
hFileRTS_IEC_HANDLEHandle of the file