Per XPG4.2, use useconds_t as argument and return type.
This commit is contained in:
parent
53d8f2fbbe
commit
f8cb8b4c14
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: ualarm.3,v 1.7 1997/09/27 19:39:26 hubertf Exp $
|
||||
.\" $NetBSD: ualarm.3,v 1.8 1997/11/25 18:03:45 kleink Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1986, 1991, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
@ -41,8 +41,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).
|
||||
@ -86,6 +86,11 @@ is 2147483647.
|
||||
.Xr sleep 3 ,
|
||||
.Xr alarm 3 ,
|
||||
.Xr usleep 3
|
||||
.Sh STANDARDS
|
||||
The
|
||||
.Fn ualarm
|
||||
functions conforms to
|
||||
.St -xpg4.2 .
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Fn ualarm
|
||||
|
Loading…
Reference in New Issue
Block a user