11 lines
188 B
C
11 lines
188 B
C
struct devsw {
|
|
int (*d_open)(char*, int);
|
|
int (*d_read)(int, char*, int);
|
|
int (*d_write)(int, char*, int);
|
|
int (*d_close)(int);
|
|
};
|
|
|
|
extern struct devsw devsw[];
|
|
|
|
#define CONSOLE 1
|