home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume41 / morse / part02 / alarm.h < prev    next >
Text File  |  1993-12-19  |  450b  |  21 lines

  1. /* alarm.h -- seligman 6/92 */
  2.  
  3. /*
  4. -- Routines for using the system interval timer to time beeps.  Useful
  5. -- for implementing the functions in beep.h on systems that don't provide
  6. -- a more straightforward BeepWait() equivalent.
  7. --
  8. -- These routines use the ALRM signal.
  9. */
  10.  
  11.  
  12. /*
  13. -- Set the alarm for a time specified in ms.
  14. */
  15. void AlarmSet(/*int time*/);
  16.  
  17. /*
  18. -- Wait for the alarm, or return immediately if the alarm isn't set.
  19. */
  20. void AlarmWait();
  21.