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:
f8806e0
)
Research V5 development
author
Ken Thompson
<ken@research.uucp>
Tue, 26 Nov 1974 23:13:21 +0000
(18:13 -0500)
committer
Ken Thompson
<ken@research.uucp>
Tue, 26 Nov 1974 23:13:21 +0000
(18:13 -0500)
Work on file usr/sys/conf.h
Co-Authored-By: Dennis Ritchie <dmr@research.uucp>
Synthesized-from: v5
usr/sys/conf.h
[new file with mode: 0644]
patch
|
blob
diff --git a/usr/sys/conf.h
b/usr/sys/conf.h
new file mode 100644
(file)
index 0000000..
b99affa
--- /dev/null
+++ b/
usr/sys/conf.h
@@ -0,0
+1,24
@@
+struct
+{
+ char d_minor;
+ char d_major;
+};
+
+struct bdevsw
+{
+ int (*d_open)();
+ int (*d_close)();
+ int (*d_strategy)();
+ int *d_tab;
+} bdevsw[];
+int nblkdev;
+
+struct cdevsw
+{
+ int (*d_open)();
+ int (*d_close)();
+ int (*d_read)();
+ int (*d_write)();
+ int (*d_sgtty)();
+} cdevsw[];
+int nchrdev;