driver/filesystem: add Ioctl()

This commit is contained in:
Edgaru089 2021-10-28 23:02:31 +08:00
parent 699c1fc8ae
commit 902ee97d71

View File

@ -250,6 +250,9 @@ public:
// Close an open directory.
virtual int Closedir(const char *path, OpenFile *file) { return -ENOSYS; }
// Ioctl (arbitrary action performed on the opened file)
virtual int Ioctl(const char *path, uintptr_t cmd, void *arg, OpenFile *file) { return -ENOSYS; }
};