mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-09 06:59:24 +01:00
690bd6ccbd
This reverts commit 865af4609c49015c64f4092fd53315a1110b8042. Turns out it is for whole filesystem. oops.
22 lines
364 B
C
22 lines
364 B
C
#include "devoptab_fs.h"
|
|
|
|
int
|
|
__wut_fs_statvfs(struct _reent *r,
|
|
const char *path,
|
|
struct statvfs *buf)
|
|
{
|
|
FSStatus rc;
|
|
char *path_fix = __wut_fs_fixpath(r, path);
|
|
|
|
if (!path_fix) {
|
|
r->_errno = ENOMEM;
|
|
return -1;
|
|
}
|
|
|
|
//TODO: FSGetFileSystemInfo
|
|
|
|
free(path_fix);
|
|
r->_errno = ENOSYS;
|
|
return -1;
|
|
}
|