ioctl() IOCTL_STAT use path instead of already open io handle

This commit is contained in:
2025-10-02 23:57:38 +02:00
parent c345e2284e
commit 2cfd3ee2fa
4 changed files with 21 additions and 8 deletions

View File

@ -12,6 +12,7 @@ enum {
IOCTL_READ = 2,
IOCTL_STAT = 3,
IOCTL_WRITE = 4,
IOCTL_FETCHDIRENT = 5,
};
enum {
@ -30,6 +31,11 @@ typedef struct IoctlStat {
int32_t type;
} IoctlStat;
typedef struct IoctlDirent {
IoctlStat stat;
char name[0x100];
} IoctlDirent;
typedef int32_t IOH;
#endif // SHARE_SYSDEFS_IOCTL_H_