is_iostat
- Date:
09-12-2012
NAME
is_iostat_end, is_iostat_eor - Reveal if the value of the iostat= specifier returned by a read statement indicates an end of file or end of record condition, respectively
SYNOPSIS
integer io_status
logical eof, eor
eof = is_iostat_end (io_status)
eor = is_iostat_eor (io_status)
IMPLEMENTATION
Cray Linux Environment (CLE)
STANDARDS
Fortran 2008
DESCRIPTION
The is_iostat_end and is_iostat_eor intrinsics reveals if the value from an iostat= specifier returned by a read statement indicates end of file or end of record condition.
The io_status argument passes the value of the iostat= specifier returned by a READ statement.
RETURN VALUES
The is_iostat_end intrinsic returns .TRUE. if and only if io_status contains a value that indicates an end-of-file condition; otherwise, it returns .FALSE..
The is_iostat_eor intrinsic returns .TRUE. if and only if io_status contains a value that indicates an end-of-record condition; otherwise, it returns .FALSE..