github.com/afumu/libc@v0.0.6/musl/include/sys/statfs.h (about)

     1  #ifndef	_SYS_STATFS_H
     2  #define	_SYS_STATFS_H
     3  
     4  #ifdef __cplusplus
     5  extern "C" {
     6  #endif
     7  
     8  #include <features.h>
     9  
    10  #include <sys/statvfs.h>
    11  
    12  typedef struct __fsid_t {
    13  	int __val[2];
    14  } fsid_t;
    15  
    16  #include <bits/statfs.h>
    17  
    18  int statfs (const char *, struct statfs *);
    19  int fstatfs (int, struct statfs *);
    20  
    21  #if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
    22  #define statfs64 statfs
    23  #define fstatfs64 fstatfs
    24  #define fsblkcnt64_t fsblkcnt_t
    25  #define fsfilcnt64_t fsfilcnt_t
    26  #endif
    27  
    28  #ifdef __cplusplus
    29  }
    30  #endif
    31  
    32  #endif