8.2.18 _gfortran_caf_error_stop — Error termination with exit code

Description:
Invoked for an ERROR STOP statement which has an integer argument. The function should terminate the program with the specified exit code.
Syntax:
void _gfortran_caf_error_stop (int32_t error)
Arguments:
error the exit status to be used.

© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-5.4.0/gfortran/_005fgfortran_005fcaf_005ferror_005fstop.html