comparison src/os/unix/ngx_freebsd_init.c @ 144:ef8c87afcfc5

nginx-0.0.1-2003-10-12-20:49:16 import
author Igor Sysoev <igor@sysoev.ru>
date Sun, 12 Oct 2003 16:49:16 +0000
parents 5526213be452
children fb48bf4fea1c
comparison
equal deleted inserted replaced
143:5526213be452 144:ef8c87afcfc5
17 17
18 ngx_os_io_t ngx_os_io = { 18 ngx_os_io_t ngx_os_io = {
19 ngx_unix_recv, 19 ngx_unix_recv,
20 ngx_readv_chain, 20 ngx_readv_chain,
21 NULL, 21 NULL,
22 #if (HAVE_FREEBSD_SENDFILE)
22 ngx_freebsd_sendfile_chain, 23 ngx_freebsd_sendfile_chain,
23 NGX_HAVE_SENDFILE|NGX_HAVE_ZEROCOPY 24 NGX_HAVE_SENDFILE|NGX_HAVE_ZEROCOPY
25 #else
26 ngx_writev_chain,
27 NULL
28 #endif
24 }; 29 };
25 30
26 31
27 typedef struct { 32 typedef struct {
28 char *name; 33 char *name;