projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add Berkeley specific header; written by Sam Leffler
[unix-history]
/
usr
/
src
/
lib
/
libc
/
gen
/
ualarm.3
diff --git
a/usr/src/lib/libc/gen/ualarm.3
b/usr/src/lib/libc/gen/ualarm.3
index
7f0623c
..
2dea28c
100644
(file)
--- a/
usr/src/lib/libc/gen/ualarm.3
+++ b/
usr/src/lib/libc/gen/ualarm.3
@@
-2,7
+2,7
@@
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)@(#)ualarm.3 6.
1
(Berkeley) %G%
+.\" @(#)@(#)ualarm.3 6.
4
(Berkeley) %G%
.\"
.TH UALARM 3 ""
.UC 6
.\"
.TH UALARM 3 ""
.UC 6
@@
-10,7
+10,7
@@
ualarm \- schedule signal after specified time
.SH SYNOPSIS
.nf
ualarm \- schedule signal after specified time
.SH SYNOPSIS
.nf
-.B ualarm(value, interval)
+.B u
nsigned u
alarm(value, interval)
.B unsigned value;
.B unsigned interval;
.fi
.B unsigned value;
.B unsigned interval;
.fi
@@
-43,10
+43,6
@@
caught may be delayed an arbitrary amount.
The longest specifiable delay time (on the vax) is 2147483647 microseconds.
.PP
The return value is the amount of time previously remaining in the alarm clock.
The longest specifiable delay time (on the vax) is 2147483647 microseconds.
.PP
The return value is the amount of time previously remaining in the alarm clock.
-.sh BUGS
-This routine is expensive to use because it is implemented using
-.IR setitimer (2)
-and does eight system calls each time it is invoked.
.SH "SEE ALSO"
getitimer(2), setitimer(2), sigpause(2), sigvec(2), signal(3C), sleep(3),
.SH "SEE ALSO"
getitimer(2), setitimer(2), sigpause(2), sigvec(2), signal(3C), sleep(3),
-alarm(3), u
alarm
(3)
+alarm(3), u
sleep
(3)