minix/nbsd_include/sys/statfs.h
Gianluca Guida b87af1c325 Fix stat, add fstat and other NBSD libc fixes.
This patch changes the NBSD libc stat implemenation and adds
fstat (and headers), taken from current libc.
It also adds weaks alias to functions in the resolver that
were removed from public use in NetBSD but that are still
used by Minix, and fixes a NetBSD non-REENTRANT bug in
in gen/initdir.c.
2011-03-04 22:31:31 +00:00

16 lines
247 B
C

/* Data for fstatfs() call. */
#ifndef _STATFS_H
#define _STATFS_H
#include <sys/cdefs.h>
#include <sys/types.h>
struct statfs {
off_t f_bsize; /* file system block size */
};
int fstatfs(int fd, struct statfs *st);
#endif /* _STATFS_H */