aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_stat.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2002-08-20 14:48:28 +0000
committerIgor Sysoev <igor@sysoev.ru>2002-08-20 14:48:28 +0000
commit2b54238a5f2edcca568c0676a779ef79ba152c91 (patch)
tree2cb7eb660e691eaab2c4f031adf881b7c88bffc9 /src/os/unix/ngx_stat.h
parente0af1b89dcd100462a3195534b2f78a838ca85b5 (diff)
downloadnginx-2b54238a5f2edcca568c0676a779ef79ba152c91.tar.gz
nginx-2b54238a5f2edcca568c0676a779ef79ba152c91.zip
nginx-0.0.1-2002-08-20-18:48:28 import
Diffstat (limited to 'src/os/unix/ngx_stat.h')
-rw-r--r--src/os/unix/ngx_stat.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/os/unix/ngx_stat.h b/src/os/unix/ngx_stat.h
deleted file mode 100644
index f42edff13..000000000
--- a/src/os/unix/ngx_stat.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef _NGX_STAT_H_INCLUDED_
-#define _NGX_STAT_H_INCLUDED_
-
-
-#include <sys/types.h>
-#include <sys/stat.h>
-
-typedef struct stat ngx_stat_t;
-
-#define ngx_is_dir(sb) (S_ISDIR(sb.st_mode))
-
-#define ngx_stat(file, sb) stat(file, sb)
-#define ngx_stat_n "stat"
-
-#define ngx_fstat(file, fd, sb) fstat(fd, sb)
-#define ngx_fstat_n "stat"
-
-
-#endif /* _NGX_STAT_H_INCLUDED_ */