diff src/os/unix/ngx_files.h @ 333:be40e9893a19

nginx-0.0.3-2004-05-11-20:16:13 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 11 May 2004 16:16:13 +0000
parents 00c5660d2707
children ca9a7f8c86da
line wrap: on
line diff
--- a/src/os/unix/ngx_files.h
+++ b/src/os/unix/ngx_files.h
@@ -19,6 +19,7 @@
 #define NGX_FILE_RDWR            O_RDWR
 #define NGX_FILE_CREATE_OR_OPEN  O_CREAT
 #define NGX_FILE_OPEN            0
+#define NGX_FILE_TRUNCATE        O_TRUNC
 #define NGX_FILE_APPEND          O_APPEND