comparison src/core/ngx_sendfile.c @ 28:a117a7fdf042

nginx-0.0.1-2002-12-16-00:08:04 import
author Igor Sysoev <igor@sysoev.ru>
date Sun, 15 Dec 2002 21:08:04 +0000
parents
children 6a0b3d6e9c13
comparison
equal deleted inserted replaced
27:a8d5abe713e6 28:a117a7fdf042
1
2 #include <ngx_config.h>
3 #include <ngx_core.h>
4 #include <ngx_log.h>
5 #include <ngx_socket.h>
6 #include <ngx_sendv.h>
7
8 int ngx_sendfile(ngx_socket_t s,
9 ngx_iovec_t *headers, int hdr_cnt,
10 ngx_fd_t fd, off_t offset, size_t nbytes,
11 ngx_iovec_t *trailers, int trl_cnt,
12 off_t *sent,
13 ngx_log_t *log)
14 {
15 ngx_log_error(NGX_LOG_INFO, log, 0,
16 "ngx_sendfile: sendfile is not implemented");
17
18
19 return NGX_ERROR;
20 }