tSysFileEOF
(STRUCT)
TYPE tSysFileEOF : STRUCT
Parameter to check, if end of file is reached
Note
End of file is only checked after a read operation with SysFileRead! But after a SysFileWrite or SysFileSetPos call, the function returns ERR_FAILED (no end of file)!
- InOut:
Name
Type
Comment
pulOut
POINTER TO RTS_IEC_RESULT
- [OUT] Pointer to the runtime system error code (see CmpErrors2 Interface Library)
ERR_OK: End of file reached at reading beyond the end of the file
ERR_FAILED: No end of file reached
ERR_PARAMETER: hFile is invalid