home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0010 - 0019 / ibm0010-0019 / ibm0010.tar / ibm0010 / UNIX3862.ZIP / U386-06.ZIP / U386-6.TD0 / usr / include / sys / callo.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-06-26  |  710 b   |  27 lines

  1. /*    Copyright (c) 1984, 1986, 1987, 1988 AT&T    */
  2. /*      All Rights Reserved      */
  3.  
  4. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T    */
  5. /*    The copyright notice above does not evidence any       */
  6. /*    actual or intended publication of such source code.    */
  7.  
  8.  
  9. #ident    "@(#)head.sys:callo.h    1.3"
  10.  
  11. /*
  12.  *    The callout structure is for a routine arranging
  13.  *    to be called by the clock interrupt
  14.  *    (clock.c) with a specified argument,
  15.  *    in a specified amount of time.
  16.  *    Used, for example, to time tab delays on typewriters.
  17.  */
  18.  
  19. struct    callo
  20. {
  21.     int    c_time;        /* incremental time */
  22.     int    c_id;        /* timeout id */
  23.     caddr_t    c_arg;        /* argument to routine */
  24.     int    (*c_func)();    /* routine */
  25. };
  26. extern    struct    callo    callout[];
  27.