]> sourceware.org Git - newlib-cygwin.git/blame - winsup/cygwin/include/sys/vfs.h
powf: Fixed another precision bug in powf() (FreeBSD)
[newlib-cygwin.git] / winsup / cygwin / include / sys / vfs.h
CommitLineData
a887211b
CV
1/* sys/vfs.h
2
a887211b
CV
3This file is part of Cygwin.
4
5This software is a copyrighted work licensed under the terms of the
6Cygwin license. Please consult the file "CYGWIN_LICENSE" for
7details. */
8
1fd5e000
CF
9#ifndef _SYS_VFS_H_
10#define _SYS_VFS_H_
11
12struct statfs {
1f77d71b 13 long f_type; /* type of filesystem */
1fd5e000
CF
14 long f_bsize; /* optimal transfer block size */
15 long f_blocks; /* total data blocks in file system */
16 long f_bfree; /* free blocks in fs */
17 long f_bavail; /* free blocks avail to non-superuser */
18 long f_files; /* total file nodes in file system */
19 long f_ffree; /* free file nodes in fs */
20 long f_fsid; /* file system id */
21 long f_namelen; /* maximum length of filenames */
22 long f_spare[6]; /* spare for later */
23};
24
25#ifdef __cplusplus
26extern "C" {
27#endif /* __cplusplus */
28
29int statfs (const char *__path, struct statfs *__buf);
30int fstatfs (int __fd, struct statfs *__buf);
31
32#ifdef __cplusplus
33};
34#endif /* __cplusplus */
35
36#endif /*_SYS_VFS_H_*/
This page took 0.801227 seconds and 6 git commands to generate.