comparison src/os/unix/ngx_sendfile.h @ 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
8 #include <ngx_log.h> 8 #include <ngx_log.h>
9 #include <ngx_sendv.h> 9 #include <ngx_sendv.h>
10 10
11 int ngx_sendfile(ngx_socket_t s, 11 int ngx_sendfile(ngx_socket_t s,
12 ngx_iovec_t *headers, int hdr_cnt, 12 ngx_iovec_t *headers, int hdr_cnt,
13 ngx_file_t fd, off_t offset, size_t nbytes, 13 ngx_fd_t fd, off_t offset, size_t nbytes,
14 ngx_iovec_t *trailers, int trl_cnt, 14 ngx_iovec_t *trailers, int trl_cnt,
15 off_t *sent, 15 off_t *sent,
16 ngx_log_t *log); 16 ngx_log_t *log);
17 17
18 18