FPOS_EOF@

Platform

x64, Win32

Purpose

To move the file pointer to end-of-file

Syntax

SUBROUTINE FPOS_EOF@(SID, NEW_POSITION, ERROR_CODE)
INTEGER (KIND=2) SID, ERROR_CODE
INTEGER (KIND=3) NEW_POSITION

Description

Move the file pointer associated with the file open with the given SID to end-of-file. NEW_POSITION is the new value of the file pointer.

Notes

You can use FPOS_EOFLONG@ to move to end-of-file and get the position a file as a 64-bit offset.

SUBROUTINE FPOS_EOFLONG@(SID, NEW_POSITION, ERROR_CODE)
INTEGER (KIND=2) SID, ERROR_CODE
INTEGER (KIND=4) NEW_POSITION

See also

OPENR@, OPENRW@, OPENW@, READF@, READFA@, WRITEF@, WRITEFA@, CLOSEF@, FPOS@

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited