Remove building with NOCRYPTO option
[minix.git] / minix / lib / libc / sys / fstatfs.c
blob4f38bc60be5d6885540e8d01175677f02c4b9a06
1 #include <sys/cdefs.h>
2 #include <lib.h>
3 #include "namespace.h"
5 #include <sys/stat.h>
6 #include <sys/statfs.h>
7 #include <sys/statvfs.h>
9 int fstatfs(int fd, struct statfs *buffer)
11 struct statvfs svbuffer;
12 int r;
14 if ((r = fstatvfs(fd, &svbuffer)) != 0)
15 return r;
17 buffer->f_bsize = svbuffer.f_bsize;
19 return 0;