Mercurial > hg > nginx-quic
view src/os/unix/ngx_unix_init.c @ 330:377a955421dc
nginx-0.0.3-2004-04-29-20:34:26 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 29 Apr 2004 16:34:26 +0000 |
parents | 1bf718ce0dde |
children |
line wrap: on
line source
#include <ngx_config.h> #include <ngx_core.h> #if 0 /* STUB */ ssize_t ngx_unix_recv(ngx_connection_t *c, char *buf, size_t size); ngx_chain_t *ngx_writev_chain(ngx_connection_t *c, ngx_chain_t *in); int ngx_posix_init(ngx_log_t *log); int ngx_posix_post_conf_init(ngx_log_t *log); /* */ #endif ngx_os_io_t ngx_os_io = { ngx_unix_recv, ngx_readv_chain, NULL, ngx_writev_chain, NGX_HAVE_ZEROCOPY }; int ngx_os_init(ngx_log_t *log) { return ngx_posix_init(log); } int ngx_os_post_conf_init(ngx_log_t *log) { return ngx_posix_post_conf_init(log); }