1: /*
2: * Copyright (c) 1982, 1986 Regents of the University of California.
3: * All rights reserved. The Berkeley software License Agreement
4: * specifies the terms and conditions for redistribution.
5: *
6: * @(#)callout.h 7.1 (Berkeley) 6/4/86
7: */
8:
9: /*
10: * The callout structure is for
11: * a routine arranging
12: * to be called by the clock interrupt
13: * (clock.c) with a specified argument,
14: * in a specified amount of time.
15: * Used, for example, to time tab
16: * delays on typewriters.
17: */
18:
19: struct callout {
20: int c_time; /* incremental time */
21: caddr_t c_arg; /* argument to routine */
22: int (*c_func)(); /* routine */
23: struct callout *c_next;
24: };
25: #ifdef KERNEL
26: struct callout *callfree, *callout, calltodo;
27: int ncallout;
28: #endif
Defined variables
Defined struct's
Usage of this include