wut/libraries/wutdevoptab/devoptab_fs_statvfs.c

22 lines
364 B
C
Raw Normal View History

#include "devoptab_fs.h"
2018-05-27 12:11:45 +01:00
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;
}