devman: isseekable()

This commit is contained in:
Matheus
2022-09-24 14:54:26 -03:00
parent ad768d0392
commit 1599890ce9
6 changed files with 38 additions and 6 deletions
+7 -3
View File
@@ -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(){