Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ualarm(3) — Atari System V ue12

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sigpause(3)

sigvec(3)

signal(3)

sleep(3)

usleep(3)

alarm(2)

getitimer(3)





   ualarm(3)               (BSD Compatibility Package)               ualarm(3)


   NAME
         ualarm - schedule signal after interval in microseconds

   SYNOPSIS
         cc [ flag... ] file ... -lucb

         unsigned ualarm(value, interval)

         unsigned value;
         unsigned interval;

   DESCRIPTION
         ualarm sends signal SIGALRM [see signal(3)], to the invoking process
         in a number of microseconds given by the value argument.  Unless
         caught or ignored, the signal terminates the process.

         If the interval argument is non-zero, the SIGALRM signal will be sent
         to the process every interval microseconds after the timer expires
         (for instance, after value microseconds have passed).

         Because of scheduling delays, resumption of execution of when the
         signal is caught may be delayed an arbitrary amount.  The longest
         specifiable delay time is 2147483647 microseconds.

         The return value is the amount of time previously remaining in the
         alarm clock.

   NOTES
         ualarm is a simplified interface to setitimer; see getitimer(2).

   SEE ALSO
         sigpause(3), sigvec(3), signal(3), sleep(3), usleep(3)

         alarm(2), getitimer(3) in the Programmer's Reference Manual.



















   7/91                                                                 Page 1





Typewritten Software • bear@typewritten.org • Edmonds, WA 98026