glibc/include/sys/statvfs.h
Adhemerval Zanella 52f527d6f1 linux: Consolidate statvfs implementations
There is no need to handle ENOSYS on fstatfs64 call, required only
for alpha (where is already fallbacks to fstatfs).

Checked on x86_64-linux-gnu.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2021-02-11 08:00:41 -03:00

14 lines
340 B
C

#ifndef _SYS_STATVFS_H
#include <io/sys/statvfs.h>
#ifndef _ISOMAC
/* Now define the internal interfaces. */
extern int __statvfs64 (const char *__file, struct statvfs64 *__buf);
extern int __fstatvfs64 (int __fildes, struct statvfs64 *__buf)
attribute_hidden;
libc_hidden_proto (statvfs)
libc_hidden_proto (fstatvfs)
#endif
#endif