#include #include #include "namespace.h" #include #include int getvfsstat(struct statvfs *buf, size_t bufsize, int flags) { message m; memset(&m, 0, sizeof(m)); m.m_lc_vfs_getvfsstat.buf = (vir_bytes) buf; m.m_lc_vfs_getvfsstat.len = bufsize; m.m_lc_vfs_getvfsstat.flags = flags; return(_syscall(VFS_PROC_NR, VFS_GETVFSSTAT, &m)); }