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