comparison src/os/win32/ngx_files.h @ 3497:ac281bc4c187

use non-blocking open() not to hang on FIFO files, etc.
author Igor Sysoev <igor@sysoev.ru>
date Wed, 21 Apr 2010 15:59:36 +0000
parents 6be1f25bae90
children 423ff11e3018
comparison
equal deleted inserted replaced
3496:fb88801564de 3497:ac281bc4c187
62 62
63 #define NGX_FILE_RDONLY GENERIC_READ 63 #define NGX_FILE_RDONLY GENERIC_READ
64 #define NGX_FILE_WRONLY GENERIC_WRITE 64 #define NGX_FILE_WRONLY GENERIC_WRITE
65 #define NGX_FILE_RDWR GENERIC_READ|GENERIC_WRITE 65 #define NGX_FILE_RDWR GENERIC_READ|GENERIC_WRITE
66 #define NGX_FILE_APPEND FILE_APPEND_DATA|SYNCHRONIZE 66 #define NGX_FILE_APPEND FILE_APPEND_DATA|SYNCHRONIZE
67 #define NGX_FILE_NONBLOCK 0
67 68
68 #define NGX_FILE_CREATE_OR_OPEN OPEN_ALWAYS 69 #define NGX_FILE_CREATE_OR_OPEN OPEN_ALWAYS
69 #define NGX_FILE_OPEN OPEN_EXISTING 70 #define NGX_FILE_OPEN OPEN_EXISTING
70 #define NGX_FILE_TRUNCATE CREATE_ALWAYS 71 #define NGX_FILE_TRUNCATE CREATE_ALWAYS
71 72