8.221 PERROR — Print system error message

Synopsis:

CALL PERROR(STRING)

Description:

Prints (on the C stderr stream) a newline-terminated error message corresponding to the last system error. This is prefixed by STRING, a colon and a space. See perror(3).

Class:

Subroutine

Arguments:
STRINGA scalar of type CHARACTER and of the default kind.
Standard:

GNU extension

See also:

IERRNO — Get the last system error number