Files
oldlinux-files/Linux-0.98/Yggdrasil-0.98.3/usr/man/man2/alarm.2
2024-02-19 00:21:16 -05:00

23 lines
415 B
Groff

.TH ALARM 2
.UC 4
.SH NAME
alarm \- alarm
.SH SYNOPSIS
.nf
.B #include<unistd.h>
.B int alarm(long seconds);
.fi
.SH DESCRIPTION
.B alarm()
sets a
.B SIGALARM
to go off in
.I seconds
seconds, if seconds is non-zero.
The time until the pending alarm signal,
in seconds, is returned.
.SH FILES
linux/kernel/sched.c, /usr/include/linux/sys.h, /usr/include/unistd.h
.SH SEE ALSO
pause(2), signal(2), sleep(3)