mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-29 05:38:21 +00:00
pseudodevices: initial null, zero and full implementations
This commit is contained in:
@@ -3,6 +3,10 @@
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
#define MAJOR_CONSOLE 1
|
||||
#define MAJOR_ZERO 2
|
||||
#define MAJOR_NULL 3
|
||||
#define MAJOR_FULL 4
|
||||
|
||||
typedef struct{
|
||||
int (*read)(int* error, int minor, void* buff, size_t count, size_t offset);
|
||||
|
||||
Reference in New Issue
Block a user