devfs: maxseek

This commit is contained in:
Matheus
2023-09-09 00:30:43 -03:00
parent a83a561094
commit fe303aec69
4 changed files with 35 additions and 12 deletions
+1
View File
@@ -24,6 +24,7 @@ typedef struct {
int (*munmap)(int minor, void *addr, uintmax_t offset, int flags);
int (*isatty)(int minor);
int (*ioctl)(int minor, unsigned long request, void *arg, int *result);
int (*maxseek)(int minor, size_t *max);
} devops_t;
typedef struct devnode_t {