Searched refs:NGX_FILE_TRUNCATE (Results 1 – 5 of 5) sorted by relevance
77 #define NGX_FILE_TRUNCATE (O_CREAT|O_TRUNC) macro
621 fm->fd = ngx_open_file(fm->name, NGX_FILE_RDWR, NGX_FILE_TRUNCATE, in ngx_create_file_mapping()
848 nfd = ngx_open_file(to, NGX_FILE_WRONLY, NGX_FILE_TRUNCATE, access); in ngx_copy_file()
753 && !(create & (NGX_FILE_CREATE_OR_OPEN|NGX_FILE_TRUNCATE))) in ngx_open_file_wrapper()
1024 create = ngx_test_config ? NGX_FILE_CREATE_OR_OPEN : NGX_FILE_TRUNCATE; in ngx_create_pidfile()