SysFileFlush
(FUN)
FUNCTION SysFileFlush : RTS_IEC_RESULT
Flush the file cache and write into the file
- InOut:
Scope
Name
Type
Comment
Return
SysFileFlush
RTS_IEC_RESULT
Returns 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
hFile
RTS_IEC_HANDLE
Handle of the file