Modula-2 ||
Compiler & Tools ||
Library ||
Search Engine
Ulm's Modula-2 Library:
SysPerror
NAME
SysPerror - system error messages
SYNOPSIS
PROCEDURE Perror(str: ARRAY OF CHAR);
PROCEDURE GetErrorString(errno: CARDINAL; VAR str: ARRAY OF CHAR);
DESCRIPTION
Perror
prints the most recent system error
in a readable form onto
StdIO.stderr. The error message is preceded by
str
and a colon.
The system error code is taken from
Errno.errno
and set by various system modules.
GetErrorString
returns the error message associated with
errno
in
str. SEE ALSO
StdIO, Errno
Edited by: borchert, last change: 1997/02/25, revision: 1.2, converted to HTML: 1997/04/28
Modula-2 ||
Compiler & Tools ||
Library ||
Search Engine