iso_fortran_env is an intrinsic module that provides the following constants, derived types, and intrinsic procedures relating to the Fortran environment:
Fortran 2003, extended in Fortran 2008 and TS 18508
atomic_int_kindatomic_logical_kindcharacter_kindscharacter type. (Fortran 2008 or later.)character_storage_sizeerror_unitfile_storage_sizeinput_unitint8, int16, int32, int64integer type with a storage size of 8, 16, 32, and 64 bits. It is negative if a target platform does not support the particular kind. (Fortran 2008 or later.)integer_kindsinteger type. (Fortran 2008 or later.)iostat_endiostat= specifier if an end-of-file condition occurs during a read statement. (Fortran 2003 or later.)iostat_eoriostat= specifier if an end-of-record condition occurs during a read statement. (Fortran 2003 or later.)iostat_inquire_internal_unitinquire for the iostat= specifier to denote an that a unit number identifies an internal unit. (Fortran 2008 or later.)numeric_storage_sizelogical_kindslogical type. (Fortran 2008 or later.)output_unitreal32, real64, real128real_kindsreal type. (Fortran 2008 or later.)stat_lockedstat= return value by lock to denote that the lock variable is locked by the executing image. (Fortran 2008 or later.)stat_locked_other_imagestat= return value by unlock to denote that the lock variable is locked by another image. (Fortran 2008 or later.)stat_stopped_imagestat= return value if the argument in the statement requires synchronisation with an image, which has initiated the termination of the execution. (Fortran 2008 or later.)stat_failed_imagestat= return value if the argument in the statement requires communication with an image, which has is in the failed state. (TS 18508 or later.)stat_unlockedstat= return value by unlock to denote that the lock variable is unlocked. (Fortran 2008 or later.)The module also provides the following derived type:
lock-typeThe module also provides the following intrinsic procedures: compiler_options and compiler_version.