File: alarm.h

package info (click to toggle)
morse 2.4-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 368 kB
  • ctags: 300
  • sloc: ansic: 4,032; xml: 385; makefile: 140
file content (20 lines) | stat: -rw-r--r-- 456 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* alarm.h -- wakeup call interface */

/*
-- Routines for using the system interval timer to time beeps.  Useful
-- for implementing the functions in beep.h on systems that don't provide
-- a more straightforward BeepWait() equivalent.
--
-- These routines use the ALRM signal.
*/


/*
-- Set the alarm for a time specified in ms.
*/
void AlarmSet(time_t);

/*
-- Wait for the alarm, or return immediately if the alarm isn't set.
*/
void AlarmWait(void);