Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ () — UMIPS/BSD System Programmer's Package 2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

set_timer − schedule longjmp for time in future

#include <saio/setjmp.h>
int *_timer_jmpbuf;
_set_timer(secs)
unsigned secs;

arranges for a longjmp
(see
to the jmp_buf pointed to by
to occur
seconds in the future.  If
is zero at the time the timer expires, the timer is ignored.
Timers may be cancelled by call
with an argument of 0.
Timers are implemented by the routine
in order for timers to operate correctly
must be called periodically during the period of the timer.
is also called by the standalone i/o routines, so
need not be called if i/o is performed frequently during the period the
timer is in effect.
nofault(3spp), setjmp(3spp)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026