dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / lib / libast / i386 / include / ast / ast_fs.h
bloba9855675c1417055777061017d0fe5065dfb01d1
1 /***********************************************************************
2 * *
3 * This software is part of the ast package *
4 * Copyright (c) 1985-2010 AT&T Intellectual Property *
5 * and is licensed under the *
6 * Common Public License, Version 1.0 *
7 * by AT&T Intellectual Property *
8 * *
9 * A copy of the License is available at *
10 * http://www.opensource.org/licenses/cpl1.0.txt *
11 * (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) *
12 * *
13 * Information and Software Systems Research *
14 * AT&T Research *
15 * Florham Park NJ *
16 * *
17 * Glenn Fowler <gsf@research.att.com> *
18 * David Korn <dgk@research.att.com> *
19 * Phong Vo <kpv@research.att.com> *
20 * *
21 ***********************************************************************/
23 /* : : generated by proto : : */
24 /* : : generated from /home/gisburn/ksh93/ast_ksh_20100309/build_i386_32bit/src/lib/libast/features/fs by iffe version 2009-12-04 : : */
26 #ifndef _def_fs_ast
27 #if !defined(__PROTO__)
28 # if defined(__STDC__) || defined(__cplusplus) || defined(_proto) || defined(c_plusplus)
29 # if defined(__cplusplus)
30 # define __LINKAGE__ "C"
31 # else
32 # define __LINKAGE__
33 # endif
34 # define __STDARG__
35 # define __PROTO__(x) x
36 # define __OTORP__(x)
37 # define __PARAM__(n,o) n
38 # if !defined(__STDC__) && !defined(__cplusplus)
39 # if !defined(c_plusplus)
40 # define const
41 # endif
42 # define signed
43 # define void int
44 # define volatile
45 # define __V_ char
46 # else
47 # define __V_ void
48 # endif
49 # else
50 # define __PROTO__(x) ()
51 # define __OTORP__(x) x
52 # define __PARAM__(n,o) o
53 # define __LINKAGE__
54 # define __V_ char
55 # define const
56 # define signed
57 # define void int
58 # define volatile
59 # endif
60 # define __MANGLE__ __LINKAGE__
61 # if defined(__cplusplus) || defined(c_plusplus)
62 # define __VARARG__ ...
63 # else
64 # define __VARARG__
65 # endif
66 # if defined(__STDARG__)
67 # define __VA_START__(p,a) va_start(p,a)
68 # else
69 # define __VA_START__(p,a) va_start(p)
70 # endif
71 # if !defined(__INLINE__)
72 # if defined(__cplusplus)
73 # define __INLINE__ extern __MANGLE__ inline
74 # else
75 # if defined(_WIN32) && !defined(__GNUC__)
76 # define __INLINE__ __inline
77 # endif
78 # endif
79 # endif
80 #endif
81 #if !defined(__LINKAGE__)
82 #define __LINKAGE__ /* 2004-08-11 transition */
83 #endif
85 #define _def_fs_ast 1
86 #define _sys_types 1 /* #include <sys/types.h> ok */
87 #define _sys_stat 1 /* #include <sys/stat.h> ok */
88 #define _lib__fxstat 1 /* _fxstat() in default lib(s) */
89 #define _lib__lxstat 1 /* _lxstat() in default lib(s) */
90 #define _lib__xmknod 1 /* _xmknod() in default lib(s) */
91 #define _lib__xstat 1 /* _xstat() in default lib(s) */
92 #define _lib_lstat 1 /* lstat() in default lib(s) */
93 #define _lib_mknod 1 /* mknod() in default lib(s) */
94 #define _lib_sync 1 /* sync() in default lib(s) */
95 #include <sys/stat.h>
96 #include <sys/mkdev.h>
97 #define FS_default "ufs"
98 #if defined(__STDPP__directive) && defined(__STDPP__initial)
99 __STDPP__directive pragma pp:noinitial
100 #endif
101 #define _hdr_stdio 1 /* #include <stdio.h> ok */
102 #define _sys_mntent 1 /* #include <sys/mntent.h> ok */
103 #define _sys_mnttab 1 /* #include <sys/mnttab.h> ok */
104 #define _sys_mount 1 /* #include <sys/mount.h> ok */
105 #define _sys_statfs 1 /* #include <sys/statfs.h> ok */
106 #define _sys_statvfs 1 /* #include <sys/statvfs.h> ok */
107 #define _sys_vfs 1 /* #include <sys/vfs.h> ok */
108 #define _mem_st_blocks_stat 1 /* st_blocks is a member of struct stat */
109 #define _mem_st_blksize_stat 1 /* st_blksize is a member of struct stat */
110 #define _mem_st_rdev_stat 1 /* st_rdev is a member of struct stat */
111 #define _mem_f_files_statfs 1 /* f_files is a member of struct statfs */
112 #define _sys_param 1 /* #include <sys/param.h> ok */
113 #define _mem_f_basetype_statvfs 1 /* f_basetype is a member of struct statvfs */
114 #define _mem_f_frsize_statvfs 1 /* f_frsize is a member of struct statvfs */
115 #define _lib_getmntent 1 /* getmntent() in default lib(s) */
116 #define _lib_statfs 1 /* statfs() in default lib(s) */
117 #define _lib_statvfs 1 /* statvfs() in default lib(s) */
118 #define _lib_statfs4 1 /* compile{\ passed */
119 #if _sys_statvfs
120 #include <sys/statvfs.h>
121 #if !_mem_statvfs_f_basetype
122 #if _ary_f_reserved7
123 #define f_basetype f_reserved7
124 #endif
125 #endif
126 #else
127 #define _mem_f_basetype_statvfs 1
128 #define _mem_f_frsize_statvfs 1
129 struct statvfs
131 unsigned long f_bsize; /* fundamental file system block size */
132 unsigned long f_frsize; /* fragment size */
133 unsigned long f_blocks; /* total # of blocks of f_frsize on fs */
134 unsigned long f_bfree; /* total # of free blocks of f_frsize */
135 unsigned long f_bavail; /* # of free blocks avail to non-superuser */
136 unsigned long f_files; /* total # of file nodes (inodes) */
137 unsigned long f_ffree; /* total # of free file nodes */
138 unsigned long f_favail; /* # of free nodes avail to non-superuser */
139 unsigned long f_fsid; /* file system id (dev for now) */
140 char f_basetype[16]; /* target fs type name, null-terminated */
141 unsigned long f_flag; /* bit-mask of flags */
142 unsigned long f_namemax; /* maximum file name length */
143 char f_fstr[32]; /* filesystem-specific string */
144 unsigned long f_filler[16]; /* reserved for future expansion */
146 extern __MANGLE__ int fstatvfs __PROTO__((int, struct statvfs*));
147 extern __MANGLE__ int statvfs __PROTO__((const char*, struct statvfs*));
148 #endif
149 #if _typ_off64_t
150 #undef off_t
151 #define off_t off64_t
152 #endif
153 #if _lib_statvfs64 && !defined(statvfs)
154 #define statvfs statvfs64
155 #if !defined(__USE_LARGEFILE64)
156 extern __MANGLE__ int statvfs64 __PROTO__((const char*, struct statvfs64*));
157 #endif
158 #endif
159 #if _lib_fstatvfs64 && !defined(fstatvfs)
160 #define fstatvfs fstatvfs64
161 #if !defined(__USE_LARGEFILE64)
162 extern __MANGLE__ int fstatvfs64 __PROTO__((int, struct statvfs64*));
163 #endif
164 #endif
166 #define _str_st_fstype 1 /* stat.st_fstype is a string */
167 #define _ary_st_pad4 1 /* stat.st_pad4 is an array */
168 #endif