IS_IOSTAT_END intrinsic function
Standard: F77 F90 F95 F2003 F2008
  Example Program

I : Integer;
Result : Logical with default kind.
Returns .TRUE. if the value of I is the same as an IOSTAT= value that indicates an end-of-file condition, and .FALSE. otherwise. This is an elemental function; if I is an array the result is an array of the same shape, with the IS_IOSTAT_END operation applied to each element of I.
END= specifier, IS_IOSTAT_EOR intrinsic function, IOSTAT= specifier.