wut/libraries/wutdevoptab_sd/devoptab_sd_statvfs.c

22 lines
364 B
C
Raw Normal View History

2018-06-13 14:36:15 +02:00
#include "devoptab_sd.h"
2018-05-27 13:11:45 +02: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;
}