home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Trees / V7 / usr / sys / h / callo.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-03  |  395 b   |  18 lines

  1. /*
  2.  * The callout structure is for
  3.  * a routine arranging
  4.  * to be called by the clock interrupt
  5.  * (clock.c) with a specified argument,
  6.  * in a specified amount of time.
  7.  * Used, for example, to time tab
  8.  * delays on typewriters.
  9.  */
  10.  
  11. struct    callo
  12. {
  13.     int    c_time;        /* incremental time */
  14.     caddr_t    c_arg;        /* argument to routine */
  15.     int    (*c_func)();    /* routine */
  16. };
  17. struct    callo    callout[NCALL];
  18.