Platform | x64, Win32 |
Purpose |
To truncate an open file at its current position. |
Syntax |
SUBROUTINE FILE_TRUNCATE@(SID,ERROR_CODE) |
Description |
This routine uses the system identifier SID of a file that has already been opened by OPENW@ or OPENRW@ and truncates the file at the current writing position. ERROR_CODE is returned as zero if the process is carried out successfully, otherwise ERROR_CODE returns a system error code. |