diff options
Diffstat (limited to 'include/user/kernel/iofilemgr_stat.h')
-rw-r--r-- | include/user/kernel/iofilemgr_stat.h | 47 |
1 files changed, 3 insertions, 44 deletions
diff --git a/include/user/kernel/iofilemgr_stat.h b/include/user/kernel/iofilemgr_stat.h index b0b57f6..7ec7f79 100644 --- a/include/user/kernel/iofilemgr_stat.h +++ b/include/user/kernel/iofilemgr_stat.h @@ -1,56 +1,15 @@ #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> +#include_next <kernel/iofilemgr_stat.h> + +#include <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 |