ioctl() IOCTL_STAT use path instead of already open io handle
This commit is contained in:
@ -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_
|
||||
|
Reference in New Issue
Block a user