Modula-2 || Compiler & Tools || Library || Search Engine


Ulm's Modula-2 Library:
SysAlarm


NAME

SysAlarm - set the process alarm clock

SYNOPSIS

VAR previous: CARDINAL; (* previous amount *)


PROCEDURE Alarm(sec: CARDINAL) : BOOLEAN;

DESCRIPTION

Alarm causes the signal SystemTypes.SIGALRM to be delivered in sec seconds. The previous setting of the alarm clock (i.e. the remaining time in seconds) is stored in previous.

DIAGNOSTICS

Despite the return type of BOOLEAN, Alarm is not expected to fail.

SEE ALSO

alarm(2)
Edited by: borchert, last change: 1997/02/25, revision: 1.1, converted to HTML: 1997/04/28

Modula-2 || Compiler & Tools || Library || Search Engine