*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: ualarm | Section: 3 | Source: OpenBSD | File: ualarm.3
UALARM(3) FreeBSD Library Functions Manual UALARM(3) NAME ualarm - schedule high resolution SIGALRM delivery SYNOPSIS #include <unistd.h> useconds_t ualarm(useconds_t microseconds, useconds_t interval); DESCRIPTION This is a simplified interface to setitimer(2). The ualarm() function schedules the SIGALRM signal for delivery to the calling process after at least the given number of microseconds have elapsed. If interval is non-zero, the SIGALRM signal is scheduled for redelivery to the calling process every interval microseconds thereafter. If an alarm is already pending, an additional call to ualarm() supersedes the prior call. If microseconds is zero, any pending alarm is cancelled and the value of interval is ignored. RETURN VALUES The ualarm() function returns the number of microseconds remaining until the next alarm is scheduled for delivery, or zero if no alarm is pending. SEE ALSO setitimer(2), sigaction(2), sigsuspend(2), alarm(3), signal(3), sleep(3), usleep(3) STANDARDS The ualarm() function conforms to X/Open Portability Guide Issue 4, Version 2 ("XPG4.2"). HISTORY The ualarm() function first appeared in 4.3BSD. CAVEATS The ualarm() function is implemented with the per-process ITIMER_REAL timer described in setitimer(2). Use of both ualarm() and setitimer(2) in the same program may yield confusing behavior. FreeBSD 14.1-RELEASE-p8 August 1, 2023 FreeBSD 14.1-RELEASE-p8

Navigation Options