INtime SDK Help
SetEndOfRtFile
INtime SDK v7.1 > About INtime > INtime Kernel > Files > SetEndOfRtFile

Sets the physical file size for the specified file to the current position of the file pointer.

BOOLEAN SetEndOfRtFile(
RTHANDLE hFile);

Parameters

hFile
A handle for a file object.

Remarks

The SetEndOfFile function can be used to truncate or extend a file. If the file is extended, the contents of the file between the old end of the file and the new end of the file are not defined.

 

Versions Defined in Include Link to
INtime 6.0 intime/rt/include/rtbase.h rt.h rt.lib
See Also