comparison src/os/win32/ngx_files.h @ 2687:5190c5dc3486

delete win32 ngx_file_append_mode() as we use reliable FILE_APPEND_DATA|SYNCHRONIZE flags
author Igor Sysoev <igor@sysoev.ru>
date Wed, 08 Apr 2009 19:13:28 +0000
parents 9e0ae986b587
children d8316f307b6a
comparison
equal deleted inserted replaced
2686:9e0ae986b587 2687:5190c5dc3486
69 #define NGX_FILE_OPEN OPEN_EXISTING 69 #define NGX_FILE_OPEN OPEN_EXISTING
70 #define NGX_FILE_TRUNCATE CREATE_ALWAYS 70 #define NGX_FILE_TRUNCATE CREATE_ALWAYS
71 71
72 #define NGX_FILE_DEFAULT_ACCESS 0 72 #define NGX_FILE_DEFAULT_ACCESS 0
73 #define NGX_FILE_OWNER_ACCESS 0 73 #define NGX_FILE_OWNER_ACCESS 0
74
75
76 ngx_int_t ngx_file_append_mode(ngx_fd_t fd);
77 #define ngx_file_append_mode_n "SetFilePointer()"
78 74
79 75
80 #define ngx_open_tempfile(name, persistent, access) \ 76 #define ngx_open_tempfile(name, persistent, access) \
81 CreateFile((const char *) name, \ 77 CreateFile((const char *) name, \
82 GENERIC_READ|GENERIC_WRITE, \ 78 GENERIC_READ|GENERIC_WRITE, \