diff options
author | Reiko Asakura | 2021-01-20 14:11:05 -0500 |
---|---|---|
committer | Reiko Asakura | 2021-01-20 14:11:05 -0500 |
commit | 648ee989cc6ac04ba07f5a8942f6ab711f62d6b4 (patch) | |
tree | e3d475d4f6f22d4e0488cbe4e3d78f5146a54f70 /include/user/kernel/iofilemgr/stat.h | |
parent | Add scejpegenc.h for kernel (diff) | |
download | vds-libraries-648ee989cc6ac04ba07f5a8942f6ab711f62d6b4.tar.gz |
Rename iofilemgr headers
Diffstat (limited to 'include/user/kernel/iofilemgr/stat.h')
-rw-r--r-- | include/user/kernel/iofilemgr/stat.h | 101 |
1 files changed, 0 insertions, 101 deletions
diff --git a/include/user/kernel/iofilemgr/stat.h b/include/user/kernel/iofilemgr/stat.h deleted file mode 100644 index b0b57f6..0000000 --- a/include/user/kernel/iofilemgr/stat.h +++ /dev/null @@ -1,101 +0,0 @@ -#ifndef _DOLCESDK_PSP2_KERNEL_IOFILEMGR_STAT_H_ -#define _DOLCESDK_PSP2_KERNEL_IOFILEMGR_STAT_H_ - -#include <psp2common/kernel/iofilemgr/stat.h> -#include <psp2/kernel/iofilemgr/async.h> - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * Change the status of a file. - * - * @param name - The path to the file. - * @param buf - A pointer to a ::SceIoStat structure. - * @param cbit - Bitmask defining which bits to change. - * - * @return < 0 on error. - */ -int sceIoChstat(const char *name, const SceIoStat *buf, unsigned int cbit); - -/** - * Get the status of a file. - * - * @param name - The path to the file. - * @param buf - A pointer to a ::SceIoStat structure. - * - * @return < 0 on error. - */ -int sceIoGetstat(const char *name, SceIoStat *buf); - -/** - * Get the status of a file descriptor. - * - * @param fd - The file descriptor. - * @param buf - A pointer to a ::SceIoStat structure. - * - * @return < 0 on error. - */ -int sceIoGetstatByFd(SceUID fd, SceIoStat *buf); - -/** - * Change the status of a file descriptor. - * - * @param fd - The file descriptor. - * @param buf - A pointer to an io_stat_t structure. - * @param cbit - Bitmask defining which bits to change. - * - * @return < 0 on error. - */ -int sceIoChstatByFd(SceUID fd, const SceIoStat *buf, unsigned int cbit); - -/** - * Make a directory file (asynchronous) - * - * @param dir - The path to the directory - * @param mode - Access mode (One or more ::SceIoAccessMode). - * @param asyncParam - parameters related to async operation. - * - * @return A non-negative integer is a valid op handle, anything else an error - */ -SceUID sceIoMkdirAsync(const char *dir, SceMode mode, SceIoAsyncParam* asyncParam); - -/** - * Remove a directory file (asynchronous) - * - * @param path - Removes a directory file pointed by the string path - * @param asyncParam - parameters related to async operation. - * - * @return A non-negative integer is a valid op handle, anything else an error - */ -SceUID sceIoRmdirAsync(const char *path, SceIoAsyncParam* asyncParam); - -/** - * Get the status of a file (asynchronous) - * - * @param file - The path to the file. - * @param stat - A pointer to a ::SceIoStat structure. - * @param asyncParam - parameters related to async operation. - * - * @return A non-negative integer is a valid op handle, anything else an error - */ -SceUID sceIoGetstatAsync(const char *file, SceIoStat *stat, SceIoAsyncParam* asyncParam); - -/** - * Change the status of a file (asynchronous) - * - * @param file - The path to the file. - * @param stat - A pointer to a ::SceIoStat structure. - * @param bits - Bitmask defining which bits to change. - * @param asyncParam - parameters related to async operation. - * - * @return A non-negative integer is a valid op handle, anything else an error - */ -SceUID sceIoChstatAsync(const char *file, SceIoStat *stat, int bits, SceIoAsyncParam* asyncParam); - -#ifdef __cplusplus -} -#endif - -#endif /* _DOLCESDK_PSP2_KERNEL_IOFILEMGR_STAT_H_ */ |