projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4787e0d
)
date and time created 80/04/09 16:23:21 by bill
author
Bill Joy
<bill@ucbvax.Berkeley.EDU>
Thu, 10 Apr 1980 07:23:21 +0000
(23:23 -0800)
committer
Bill 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]
patch
|
blob
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
+++ 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];