date and time created 80/04/09 16:23:21 by bill
authorBill Joy <bill@ucbvax.Berkeley.EDU>
Thu, 10 Apr 1980 07:23:21 +0000 (23:23 -0800)
committerBill Joy <bill@ucbvax.Berkeley.EDU>
Thu, 10 Apr 1980 07:23:21 +0000 (23:23 -0800)
SCCS-vsn: sys/sys/callout.h 3.1

usr/src/sys/sys/callout.h [new file with mode: 0644]

diff --git a/usr/src/sys/sys/callout.h b/usr/src/sys/sys/callout.h
new file mode 100644 (file)
index 0000000..961e3ba
--- /dev/null
@@ -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];