Mercurial > hg > nginx
comparison src/os/unix/ngx_files.h @ 2686:9e0ae986b587
adopt NGX_FILE_TRUNCATE for win32
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 08 Apr 2009 19:03:41 +0000 |
parents | 367b29612a00 |
children | d8316f307b6a |
comparison
equal
deleted
inserted
replaced
2685:6c8a5165ed2a | 2686:9e0ae986b587 |
---|---|
61 #define NGX_FILE_RDONLY O_RDONLY | 61 #define NGX_FILE_RDONLY O_RDONLY |
62 #define NGX_FILE_WRONLY O_WRONLY | 62 #define NGX_FILE_WRONLY O_WRONLY |
63 #define NGX_FILE_RDWR O_RDWR | 63 #define NGX_FILE_RDWR O_RDWR |
64 #define NGX_FILE_CREATE_OR_OPEN O_CREAT | 64 #define NGX_FILE_CREATE_OR_OPEN O_CREAT |
65 #define NGX_FILE_OPEN 0 | 65 #define NGX_FILE_OPEN 0 |
66 #define NGX_FILE_TRUNCATE O_TRUNC | 66 #define NGX_FILE_TRUNCATE O_CREAT|O_TRUNC |
67 #define NGX_FILE_APPEND O_WRONLY|O_APPEND | 67 #define NGX_FILE_APPEND O_WRONLY|O_APPEND |
68 | 68 |
69 #define NGX_FILE_DEFAULT_ACCESS 0644 | 69 #define NGX_FILE_DEFAULT_ACCESS 0644 |
70 #define NGX_FILE_OWNER_ACCESS 0600 | 70 #define NGX_FILE_OWNER_ACCESS 0600 |
71 | 71 |