Mercurial > hg > nginx-quic
comparison src/os/unix/ngx_files.h @ 1054:836fe133b6d5
NGX_FILE_WRONLY
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 18 Jan 2007 20:37:19 +0000 |
parents | b9fa23cda4cc |
children | 0f692964f1b3 |
comparison
equal
deleted
inserted
replaced
1053:b9fa23cda4cc | 1054:836fe133b6d5 |
---|---|
20 #define ngx_open_file(name, mode, create, access) \ | 20 #define ngx_open_file(name, mode, create, access) \ |
21 open((const char *) name, mode|create, access) | 21 open((const char *) name, mode|create, access) |
22 #define ngx_open_file_n "open()" | 22 #define ngx_open_file_n "open()" |
23 | 23 |
24 #define NGX_FILE_RDONLY O_RDONLY | 24 #define NGX_FILE_RDONLY O_RDONLY |
25 #define NGX_FILE_WRONLY O_WRONLY | |
25 #define NGX_FILE_RDWR O_RDWR | 26 #define NGX_FILE_RDWR O_RDWR |
26 #define NGX_FILE_CREATE_OR_OPEN O_CREAT | 27 #define NGX_FILE_CREATE_OR_OPEN O_CREAT |
27 #define NGX_FILE_OPEN 0 | 28 #define NGX_FILE_OPEN 0 |
28 #define NGX_FILE_TRUNCATE O_TRUNC | 29 #define NGX_FILE_TRUNCATE O_TRUNC |
29 #define NGX_FILE_APPEND O_APPEND | 30 #define NGX_FILE_APPEND O_APPEND |