Silverfrost Logo About Us | Contact Us
 

FILE_TRUNCATE@

Platform

x64, Win32

Purpose

To truncate an open file at its current position.

Syntax

SUBROUTINE FILE_TRUNCATE@(HANDLE,ERROR_CODE)
INTEGER (KIND=2) HANDLE,ERROR_CODE

Description

This routine uses the handle 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.

 

 

Copyright © 1999-2017 Silverfrost Limited