Mercurial > hg > nginx
comparison src/os/win32/ngx_files.c @ 3164:b1b1775698d5
uniform ngx_directio_on/off() interface with other file functions
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 25 Sep 2009 14:17:28 +0000 |
parents | 17afb68c2a9a |
children | 975f0558aab3 |
comparison
equal
deleted
inserted
replaced
3163:34cbd6e86218 | 3164:b1b1775698d5 |
---|---|
477 | 477 |
478 | 478 |
479 ngx_int_t | 479 ngx_int_t |
480 ngx_directio_on(ngx_fd_t fd) | 480 ngx_directio_on(ngx_fd_t fd) |
481 { | 481 { |
482 return 0; | 482 return ~NGX_FILE_ERROR; |
483 } | 483 } |
484 | 484 |
485 | 485 |
486 ngx_int_t | 486 ngx_int_t |
487 ngx_directio_off(ngx_fd_t fd) | 487 ngx_directio_off(ngx_fd_t fd) |
488 { | 488 { |
489 return 0; | 489 return ~NGX_FILE_ERROR; |
490 } | 490 } |
491 | 491 |
492 | 492 |
493 size_t | 493 size_t |
494 ngx_fs_bsize(u_char *name) | 494 ngx_fs_bsize(u_char *name) |