4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
23 * Copyright 2014 Garrett D'Amore <garrett@damore.org>
25 * Copyright 1996 Sun Microsystems, Inc. All rights reserved.
26 * Use is subject to license terms.
29 /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
30 /* All Rights Reserved */
40 * Structure returned by statfs(2) and fstatfs(2).
41 * This structure and associated system calls have been replaced
42 * by statvfs(2) and fstatvfs(2) and will be removed from the system
43 * in a near-future release.
47 short f_fstyp
; /* File system type */
48 long f_bsize
; /* Block size */
49 long f_frsize
; /* Fragment size (if supported) */
50 long f_blocks
; /* Total number of blocks on file system */
51 long f_bfree
; /* Total number of free blocks */
52 ino_t f_files
; /* Total number of file nodes (inodes) */
53 ino_t f_ffree
; /* Total number of free file nodes */
54 char f_fname
[6]; /* Volume name */
55 char f_fpack
[6]; /* Pack name */
72 #endif /* _SYSCALL32 */
75 int statfs(const char *, struct statfs
*, int, int);
76 int fstatfs(int, struct statfs
*, int, int);
83 #endif /* _SYS_STATFS_H */