vfs: Add ioctl() to filesystem set

This commit is contained in:
Angus Gratton
2017-10-04 09:24:40 +11:00
committed by Angus Gratton
parent 3a271a4ae7
commit a320fed3b5
2 changed files with 21 additions and 0 deletions

View File

@@ -145,6 +145,10 @@ typedef struct
int (*fcntl_p)(void* ctx, int fd, int cmd, va_list args);
int (*fcntl)(int fd, int cmd, va_list args);
};
union {
int (*ioctl_p)(void* ctx, int fd, int cmd, va_list args);
int (*ioctl)(int fd, int cmd, va_list args);
};
} esp_vfs_t;