mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 15:08:21 +00:00
devman: isseekable()
This commit is contained in:
@@ -120,10 +120,14 @@ static int write(int *error, int dev, void* buff, size_t count, size_t offset){
|
||||
return count;
|
||||
}
|
||||
|
||||
devcalls calls = {
|
||||
read, write, isatty
|
||||
};
|
||||
|
||||
static int isseekable(){
|
||||
return ESPIPE;
|
||||
}
|
||||
|
||||
devcalls calls = {
|
||||
read, write, isatty, isseekable
|
||||
};
|
||||
|
||||
void consoledev_init(){
|
||||
|
||||
|
||||
Reference in New Issue
Block a user