musl/include/sys/statfs.h

31 lines
476 B
C
Raw Normal View History

2011-02-12 05:22:29 +00:00
#ifndef _SYS_STATFS_H
#define _SYS_STATFS_H
#ifdef __cplusplus
extern "C" {
#endif
2011-02-12 05:22:29 +00:00
#include <sys/statvfs.h>
typedef struct {
int __val[2];
} fsid_t;
#include <bits/statfs.h>
int statfs (const char *, struct statfs *);
int fstatfs (int, struct statfs *);
2011-02-12 05:22:29 +00:00
#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
2012-05-04 04:31:25 +00:00
#define statfs64 statfs
#define fstatfs64 fstatfs
#define fsblkcnt64_t fsblkcnt_t
#define fsfilcnt64_t fsfilcnt_t
#endif
#ifdef __cplusplus
}
#endif
2011-02-12 05:22:29 +00:00
#endif