FILE_TRUNCATE@

Platform

x64, Win32

Purpose

To truncate an open file at its current position.

Syntax

SUBROUTINE FILE_TRUNCATE@(SID,ERROR_CODE)
INTEGER (KIND=2) 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.

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited