Please check the manual page statfs(2).