comparison src/os/unix/ngx_solaris_init.c @ 198:34995c5ec6c4

nginx-0.0.1-2003-11-27-22:01:37 import
author Igor Sysoev <igor@sysoev.ru>
date Thu, 27 Nov 2003 19:01:37 +0000
parents 11fbd0fc041d
children f5431a4bbc7d
comparison
equal deleted inserted replaced
197:0b81c7a0b133 198:34995c5ec6c4
10 10
11 ngx_os_io_t ngx_os_io = { 11 ngx_os_io_t ngx_os_io = {
12 ngx_unix_recv, 12 ngx_unix_recv,
13 NULL, 13 NULL,
14 NULL, 14 NULL,
15 #if (HAVE_SENDFILE)
16 ngx_solaris_sendfilev_chain,
17 NGX_IO_SENDFILE
18 #else
15 ngx_writev_chain, 19 ngx_writev_chain,
16 0 20 0
21 #endif
17 }; 22 };
18 23
19 24
20 int ngx_os_init(ngx_log_t *log) 25 int ngx_os_init(ngx_log_t *log)
21 { 26 {