mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-13 19:41:52 +01:00
23 lines
390 B
C
23 lines
390 B
C
|
#include "devoptab_fs.h"
|
||
|
|
||
|
int
|
||
|
__wut_fs_statvfs(struct _reent *r,
|
||
|
const char *path,
|
||
|
struct statvfs *buf)
|
||
|
{
|
||
|
FSStatus rc;
|
||
|
bool writable = false;
|
||
|
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;
|
||
|
}
|