Mercurial > hg > nginx-quic
view src/core/ngx_sendfile.c @ 70:e320bf51c4e3
nginx-0.0.1-2003-03-25-18:40:51 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 25 Mar 2003 15:40:51 +0000 |
parents | 6a0b3d6e9c13 |
children |
line wrap: on
line source
#include <ngx_config.h> #if !(HAVE_SENDFILE) #include <ngx_core.h> #include <ngx_log.h> #include <ngx_socket.h> #include <ngx_sendv.h> int ngx_sendfile(ngx_socket_t s, ngx_iovec_t *headers, int hdr_cnt, ngx_fd_t fd, off_t offset, size_t nbytes, ngx_iovec_t *trailers, int trl_cnt, off_t *sent, ngx_log_t *log) { ngx_log_error(NGX_LOG_INFO, log, 0, "ngx_sendfile: sendfile is not implemented"); return NGX_ERROR; } #endif