comparison src/os/unix/freebsd/ngx_sendfile.c @ 6:669801705ab1

nginx-0.0.1-2002-08-26-19:18:19 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 26 Aug 2002 15:18:19 +0000
parents 34a521b1a148
children 708f8bb772ec
comparison
equal deleted inserted replaced
5:62b1a364857c 6:669801705ab1
22 22
23 #if (HAVE_FREEBSD_SENDFILE) 23 #if (HAVE_FREEBSD_SENDFILE)
24 24
25 int ngx_sendfile(ngx_socket_t s, 25 int ngx_sendfile(ngx_socket_t s,
26 ngx_iovec_t *headers, int hdr_cnt, 26 ngx_iovec_t *headers, int hdr_cnt,
27 ngx_file_t fd, off_t offset, size_t nbytes, 27 ngx_fd_t fd, off_t offset, size_t nbytes,
28 ngx_iovec_t *trailers, int trl_cnt, 28 ngx_iovec_t *trailers, int trl_cnt,
29 off_t *sent, 29 off_t *sent,
30 ngx_log_t *log) 30 ngx_log_t *log)
31 { 31 {
32 int rc, i; 32 int rc, i;