Mercurial > hg > nginx
comparison src/os/win32/ngx_files.c @ 123:b75602822f64
nginx-0.0.1-2003-07-24-00:01:29 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 23 Jul 2003 20:01:29 +0000 |
parents | 7ebc8b7fb816 |
children | 3c49eaf3f522 |
comparison
equal
deleted
inserted
replaced
122:cd91e4a1ad0d | 123:b75602822f64 |
---|---|
16 | 16 |
17 return n; | 17 return n; |
18 } | 18 } |
19 | 19 |
20 | 20 |
21 int ngx_file_append_mode(ngx_fd_t *fd) | 21 int ngx_file_append_mode(ngx_fd_t fd) |
22 { | 22 { |
23 if (SetFilePointer(fd, 0, NULL, FILE_END) == 0xFFFFFFFF) { | 23 if (SetFilePointer(fd, 0, NULL, FILE_END) == 0xFFFFFFFF) { |
24 if (GetLastError() != NO_ERROR) { | 24 if (GetLastError() != NO_ERROR) { |
25 return NGX_ERROR; | 25 return NGX_ERROR; |
26 } | 26 } |