diff options
author | Reiko Asakura | 2020-07-23 15:34:54 -0400 |
---|---|---|
committer | Reiko Asakura | 2020-07-23 15:34:54 -0400 |
commit | 9f45649bc1bd6cbdbe8b2c4233726dae47dae480 (patch) | |
tree | c8ac12d9c60c2fe61573ac44bb9364379c8e2c66 /include/user/kernel/iofilemgr.h | |
parent | Refactor kernel IO functions (diff) | |
download | vds-libraries-9f45649bc1bd6cbdbe8b2c4233726dae47dae480.tar.gz |
Add {,k}sceIo{Io,Dev}ctlAsync prototypes
Diffstat (limited to '')
-rw-r--r-- | include/user/kernel/iofilemgr.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/include/user/kernel/iofilemgr.h b/include/user/kernel/iofilemgr.h index 87ad029..240705b 100644 --- a/include/user/kernel/iofilemgr.h +++ b/include/user/kernel/iofilemgr.h @@ -61,6 +61,16 @@ extern "C" { #define SCE_IO_MAX_PATH_LENGTH (200) /* maximum path length */ /** + * May be used with sceIoDevctl() + */ +typedef struct SceIoDevInfo { + SceOff max_size; + SceOff free_size; + SceSize cluster_size; + void *unk; +} SceIoDevInfo; + +/** * Remove directory entry * * @param filename - Path to the file to remove @@ -418,6 +428,34 @@ SceUID sceIoSyncByFdAsync(SceUID fd, int flag, SceIoAsyncParam* asyncParam); */ SceUID sceIoSyncAsync(const char* device, int flag, SceIoAsyncParam* asyncParam); +/** + * This function is unimplemented. + * + * @return SCE_KERNEL_ERROR_UNSUP (0x80020004) + */ +int sceIoIoctlAsync( + SceUID fd, + int cmd, + const void *argp, + SceSize arglen, + void *bufp, + SceSize buflen, + SceIoAsyncParam* asyncParam); + +/** + * This function is unimplemented. + * + * @return SCE_KERNEL_ERROR_UNSUP (0x80020004) + */ +int sceIoDevctlAsync( + const char *devname, + int cmd, + const void *arg, + SceSize arglen, + void *bufp, + SceSize buflen, + SceIoAsyncParam* asyncParam); + /*--------------------IO Priority--------------------*/ /*Valid priority values range: 1 (highest) - 15 (lowest). Default priority value is 14*/ |