NCEPLIBS-w3emc 2.12.0
Loading...
Searching...
No Matches
errexit.f
Go to the documentation of this file.
1C> @file
2C> @brief Exit with a return code.
3C> @author Mark Iredell @date 1998-06-04
4
5C> Exit with a return code.
6C>
7C> Program history log:
8C> - 1998-06-04 Mark Iredell
9C> - 1999-01-26 Stephen Gilbert
10C> - Changed to use XLF utility routine exit_(n) instead of exit(n).
11C> exit_(n) will return the proper value (n must be 4 byte int)
12C> to the sh/ksh shell status variable $? ($status for csh)
13C> on the IBM SP.
14C>
15C> @param[in] IRET Integer return code.
16C>
17C> @author Mark Iredell @date 1998-06-04
18
19 SUBROUTINE errexit(IRET)
20 INTEGER IRET
21 INTEGER(4) JRET
22 jret=iret
23 CALL exit(jret)
24 END
subroutine errexit(iret)
Exit with a return code.
Definition errexit.f:20