Research V5 development
authorKen Thompson <ken@research.uucp>
Tue, 26 Nov 1974 23:13:21 +0000 (18:13 -0500)
committerKen 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]

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