]>
Commit | Line | Data |
---|---|---|
c63539ff ML |
1 | .. |
2 | Copyright 1988-2022 Free Software Foundation, Inc. | |
3 | This is part of the GCC manual. | |
4 | For copying conditions, see the copyright.rst file. | |
5 | ||
6 | .. index:: IERRNO, system, error handling | |
7 | ||
8 | .. _ierrno: | |
9 | ||
10 | IERRNO --- Get the last system error number | |
11 | ******************************************* | |
12 | ||
13 | .. function:: IERRNO() | |
14 | ||
15 | Returns the last system error number, as given by the C ``errno`` | |
16 | variable. | |
17 | ||
18 | :return: | |
19 | The return value is of type ``INTEGER`` and of the default integer | |
20 | kind. | |
21 | ||
22 | Standard: | |
23 | GNU extension | |
24 | ||
25 | Class: | |
26 | Function | |
27 | ||
28 | Syntax: | |
29 | .. code-block:: fortran | |
30 | ||
31 | RESULT = IERRNO() | |
32 | ||
33 | Arguments: | |
34 | None | |
35 | ||
36 | See also: | |
3ed1b4ce | 37 | :ref:`PERROR` |