summaryrefslogtreecommitdiff
path: root/lib/libc/gen/ualarm.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/ualarm.3')
-rw-r--r--lib/libc/gen/ualarm.313
1 files changed, 9 insertions, 4 deletions
diff --git a/lib/libc/gen/ualarm.3 b/lib/libc/gen/ualarm.3
index e8d1378df7f..b96e888ad8d 100644
--- a/lib/libc/gen/ualarm.3
+++ b/lib/libc/gen/ualarm.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ualarm.3,v 1.3 1997/09/26 01:25:26 millert Exp $
+.\" $OpenBSD: ualarm.3,v 1.4 1997/11/06 01:25:49 millert Exp $
.\"
.\" Copyright (c) 1986, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd April 19, 1994
+.Dd November 4, 1997
.Dt UALARM 3
.Os BSD 4.3
.Sh NAME
@@ -39,8 +39,8 @@
.Nd schedule signal after specified time
.Sh SYNOPSIS
.Fd #include <unistd.h>
-.Ft u_int
-.Fn ualarm "u_int microseconds" "u_int interval"
+.Ft useconds_t
+.Fn ualarm "useconds_t microseconds" "useconds_t interval"
.Sh DESCRIPTION
.Bf -symbolic
This is a simplified interface to setitimer(2).
@@ -84,6 +84,11 @@ is 2147483647.
.Xr sleep 3 ,
.Xr alarm 3 ,
.Xr usleep 3
+.Sh STANDARDS
+The
+.Fn
+function conforms to
+.St -xpg4.2 .
.Sh HISTORY
The
.Fn ualarm