From: Bill Joy Date: Thu, 10 Apr 1980 07:23:21 +0000 (-0800) Subject: date and time created 80/04/09 16:23:21 by bill X-Git-Tag: BSD-4^3~1254 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/88d86bda3901d6108196393409df0529ebc150dc date and time created 80/04/09 16:23:21 by bill SCCS-vsn: sys/sys/callout.h 3.1 --- diff --git a/usr/src/sys/sys/callout.h b/usr/src/sys/sys/callout.h new file mode 100644 index 0000000000..961e3baf20 --- /dev/null +++ b/usr/src/sys/sys/callout.h @@ -0,0 +1,19 @@ +/* callout.h 3.1 %H% */ + +/* + * The callout structure is for + * a routine arranging + * to be called by the clock interrupt + * (clock.c) with a specified argument, + * in a specified amount of time. + * Used, for example, to time tab + * delays on typewriters. + */ + +struct callo +{ + int c_time; /* incremental time */ + caddr_t c_arg; /* argument to routine */ + int (*c_func)(); /* routine */ +}; +struct callo callout[NCALL];