ngx_fs_bsize()
Igor Sysoev
13 years ago
1 | 1 |
# Copyright (C) Igor Sysoev
|
2 | 2 |
|
3 | 3 |
|
4 | |
ngx_include="unistd.h"; . auto/include
|
5 | |
ngx_include="inttypes.h"; . auto/include
|
6 | |
ngx_include="limits.h"; . auto/include
|
7 | |
ngx_include="sys/filio.h"; . auto/include
|
8 | |
ngx_include="crypt.h"; . auto/include
|
|
4 |
ngx_include="unistd.h"; . auto/include
|
|
5 |
ngx_include="inttypes.h"; . auto/include
|
|
6 |
ngx_include="limits.h"; . auto/include
|
|
7 |
ngx_include="sys/filio.h"; . auto/include
|
|
8 |
ngx_include="sys/mount.h"; . auto/include
|
|
9 |
ngx_include="sys/statvfs.h"; . auto/include
|
|
10 |
ngx_include="crypt.h"; . auto/include
|
204 | 204 |
ngx_feature_libs=
|
205 | 205 |
ngx_feature_test="directio(0, DIRECTIO_ON);"
|
206 | 206 |
. auto/feature
|
|
207 |
|
|
208 |
|
|
209 |
ngx_feature="statfs()"
|
|
210 |
ngx_feature_name="NGX_HAVE_STATFS"
|
|
211 |
ngx_feature_run=no
|
|
212 |
ngx_feature_incs="$NGX_INCLUDE_SYS_MOUNT_H
|
|
213 |
$NGX_INCLUDE_SYS_VFS_H"
|
|
214 |
ngx_feature_path=
|
|
215 |
ngx_feature_libs=
|
|
216 |
ngx_feature_test="struct statfs fs;
|
|
217 |
statfs(NULL, &fs);"
|
|
218 |
. auto/feature
|
|
219 |
|
|
220 |
|
|
221 |
ngx_feature="statvfs()"
|
|
222 |
ngx_feature_name="NGX_HAVE_STATVFS"
|
|
223 |
ngx_feature_run=no
|
|
224 |
ngx_feature_incs="#include <sys/types.h>
|
|
225 |
#include <sys/statvfs.h>"
|
|
226 |
ngx_feature_path=
|
|
227 |
ngx_feature_libs=
|
|
228 |
ngx_feature_test="struct statvfs fs;
|
|
229 |
statvfs(NULL, &fs);"
|
|
230 |
. auto/feature
|
21 | 21 |
#include <grp.h>
|
22 | 22 |
#include <dirent.h>
|
23 | 23 |
#include <glob.h>
|
|
24 |
#include <sys/mount.h> /* statfs() */
|
24 | 25 |
|
25 | 26 |
#include <sys/filio.h> /* FIONBIO */
|
26 | 27 |
#include <sys/uio.h>
|
27 | 27 |
#include <grp.h>
|
28 | 28 |
#include <dirent.h>
|
29 | 29 |
#include <glob.h>
|
|
30 |
#include <sys/vfs.h> /* statfs() */
|
30 | 31 |
|
31 | 32 |
#include <sys/uio.h>
|
32 | 33 |
#include <sys/stat.h>
|
43 | 43 |
#include <grp.h>
|
44 | 44 |
#include <dirent.h>
|
45 | 45 |
#include <glob.h>
|
|
46 |
#if (NGX_HAVE_SYS_MOUNT_H)
|
|
47 |
#include <sys/mount.h> /* statfs() */
|
|
48 |
#endif
|
|
49 |
#if (NGX_HAVE_SYS_STATVFS_H)
|
|
50 |
#include <sys/statvfs.h> /* statvfs() */
|
|
51 |
#endif
|
46 | 52 |
|
47 | 53 |
#if (NGX_HAVE_SYS_FILIO_H)
|
48 | 54 |
#include <sys/filio.h> /* FIONBIO */
|
27 | 27 |
#include <grp.h>
|
28 | 28 |
#include <dirent.h>
|
29 | 29 |
#include <glob.h>
|
|
30 |
#include <sys/statvfs.h> /* statvfs() */
|
30 | 31 |
|
31 | 32 |
#include <sys/filio.h> /* FIONBIO */
|
32 | 33 |
#include <sys/uio.h>
|
242 | 242 |
ngx_int_t ngx_directio_off(ngx_fd_t fd);
|
243 | 243 |
#define ngx_directio_off_n "ngx_directio_off_n"
|
244 | 244 |
|
|
245 |
size_t ngx_fs_bsize(u_char *name);
|
|
246 |
|
245 | 247 |
|
246 | 248 |
#endif /* _NGX_FILES_H_INCLUDED_ */
|