GNU Info

Info Node: (g77-295.info)FSeek Intrinsic

(g77-295.info)FSeek Intrinsic


Next: FStat Intrinsic (subroutine) Prev: Fraction Intrinsic Up: Table of Intrinsic Functions
Enter node , (file) or (file)node

FSeek Intrinsic
...............

     CALL FSeek(UNIT, OFFSET, WHENCE, ERRLAB)

UNIT: `INTEGER'; scalar; INTENT(IN).

OFFSET: `INTEGER'; scalar; INTENT(IN).

WHENCE: `INTEGER'; scalar; INTENT(IN).

ERRLAB: `*LABEL', where LABEL is the label of an executable statement;
OPTIONAL.

Intrinsic groups: `unix'.

Description:

   Attempts to move Fortran unit UNIT to the specified OFFSET: absolute
offset if WHENCE=0; relative to the current offset if WHENCE=1;
relative to the end of the file if WHENCE=2.  It branches to label
ERRLAB if UNIT is not open or if the call otherwise fails.


automatically generated by info2www version 1.2.2.9