perror(3f)

Name
perror, gerror, ierrno, seterr - writes system error messages

Syntax
character*len string
external perror
call perror ( string )

character*len string
external gerror
call gerror ( string )

integer ierrno, err
external ierrno
err = ierrno( )

integer errno
external seterr
call seterr ( errno )

Description
The perror subroutine writes a message to logical unit 0 appropriate to the last detected system error. The string argument precedes the standard error message. The gerror subroutine writes a system error message in a character variable.

The ierrno function returns the error number of the last detected system error.

The seterr call allows the programmer to set the error number.

Restrictions
The string argument in the call to perror can be no longer than 128 characters.

Files
libU77.a

See Also
perror(3)