NGX_FILE_WRONLY

This commit is contained in:
Igor Sysoev 2007-01-18 20:37:19 +00:00
parent 4a27d0f3f8
commit a3eef70783
2 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,7 @@
#define ngx_open_file_n "open()" #define ngx_open_file_n "open()"
#define NGX_FILE_RDONLY O_RDONLY #define NGX_FILE_RDONLY O_RDONLY
#define NGX_FILE_WRONLY O_WRONLY
#define NGX_FILE_RDWR O_RDWR #define NGX_FILE_RDWR O_RDWR
#define NGX_FILE_CREATE_OR_OPEN O_CREAT #define NGX_FILE_CREATE_OR_OPEN O_CREAT
#define NGX_FILE_OPEN 0 #define NGX_FILE_OPEN 0

View File

@ -38,6 +38,7 @@
#define ngx_open_file_n "CreateFile()" #define ngx_open_file_n "CreateFile()"
#define NGX_FILE_RDONLY GENERIC_READ #define NGX_FILE_RDONLY GENERIC_READ
#define NGX_FILE_WRONLY GENERIC_WRITE
#define NGX_FILE_RDWR GENERIC_READ|GENERIC_WRITE #define NGX_FILE_RDWR GENERIC_READ|GENERIC_WRITE
#define NGX_FILE_CREATE_OR_OPEN OPEN_ALWAYS #define NGX_FILE_CREATE_OR_OPEN OPEN_ALWAYS
#define NGX_FILE_OPEN OPEN_EXISTING #define NGX_FILE_OPEN OPEN_EXISTING