home *** CD-ROM | disk | FTP | other *** search
/ Jason Aller Floppy Collection / 202.img / SCO386N2.TD0 / usr / include / sys / callo.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-05-18  |  956 b   |  36 lines

  1. /*
  2.  *    @(#) callo.h 2.2 88/05/18 
  3.  *
  4.  *    Copyright (C) The Santa Cruz Operation, 1984, 1985, 1986, 1987, 1988.
  5.  *    Copyright (C) Microsoft Corporation, 1984, 1985, 1986, 1987, 1988.
  6.  *    This Module contains Proprietary Information of
  7.  *    The Santa Cruz Operation, Microsoft Corporation
  8.  *    and AT&T, and should be treated as Confidential.
  9.  */
  10.  
  11. /*
  12.  * THIS FILE CONTAINS CODE WHICH IS DESIGNED TO BE
  13.  * PORTABLE BETWEEN DIFFERENT MACHINE ARCHITECTURES
  14.  * AND CONFIGURATIONS. IT SHOULD NOT REQUIRE ANY
  15.  * MODIFICATIONS WHEN ADAPTING XENIX TO NEW HARDWARE.
  16.  */
  17.  
  18.  
  19.  
  20. /*
  21.  * The callout structure is for a routine arranging
  22.  * to be called by the clock interrupt
  23.  * (clock.c) with a specified argument,
  24.  * in a specified amount of time.
  25.  * Used, for example, to time tab delays on typewriters.
  26.  */
  27.  
  28. struct    callo
  29. {
  30.     int    c_time;        /* incremental time */
  31.     caddr_t    c_arg;        /* argument to routine */
  32.     int    (*c_func)();    /* routine */
  33.     int    c_id;
  34. };
  35. extern struct callo callout[];
  36.