Re-install OpenSSL 0.9.8k
[msysgit.git] / include / sys / vfs.h
blobf0f3eb96c14f64414d7b336082e17083adfaa3d4
1 /* sys/vfs.h
3 Copyright 1997, 1998, 2001 Red Hat, Inc.
5 This file is part of Cygwin.
7 This software is a copyrighted work licensed under the terms of the
8 Cygwin license. Please consult the file "CYGWIN_LICENSE" for
9 details. */
11 #ifndef _SYS_VFS_H_
12 #define _SYS_VFS_H_
14 struct statfs {
15 long f_type; /* type of filesystem (see below) */
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 */
27 #ifdef __cplusplus
28 extern "C" {
29 #endif /* __cplusplus */
31 int statfs (const char *__path, struct statfs *__buf);
32 int fstatfs (int __fd, struct statfs *__buf);
34 #ifdef __cplusplus
36 #endif /* __cplusplus */
38 #endif /*_SYS_VFS_H_*/