示例#1
0
文件: fstatfs.c 项目: AubrCool/glibc
/* Return information about the filesystem on which FD resides.  */
int
__fstatfs (int fd, struct statfs *buf)
{
  struct statfs64 buf64;
  return __fstatfs64 (fd, &buf64) ?: statfs64_conv (buf, &buf64);
}
/* Return information about the filesystem on which FILE resides.  */
int
__statfs (const char *file, struct statfs *buf)
{
  struct statfs64 buf64;
  return __statfs64 (file, &buf64) ?: statfs64_conv (buf, &buf64);
}