8 lines
132 B
C
8 lines
132 B
C
struct devsw {
|
|
int (*read)(int, char*, int);
|
|
int (*write)(int, char*, int);
|
|
};
|
|
|
|
extern struct devsw devsw[];
|
|
|
|
#define CONSOLE 1
|