mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-29 21:58:20 +00:00
devman: isseekable()
This commit is contained in:
@@ -17,8 +17,13 @@ static int isatty(int minor){
|
||||
return ENOTTY;
|
||||
}
|
||||
|
||||
static int isseekable(int minor, size_t* max){
|
||||
*max = ~(size_t)0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static devcalls calls = {
|
||||
read, write, isatty
|
||||
read, write, isatty, isseekable
|
||||
};
|
||||
|
||||
void zerodev_init(){
|
||||
|
||||
Reference in New Issue
Block a user