From d09f7a1e9aa5816493e2fef93074383d95140c13 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 15 Jun 2004 17:47:16 +0000 Subject: nginx-0.0.7-2004-06-15-21:47:16 import --- src/os/unix/ngx_posix_init.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'src/os/unix/ngx_posix_init.c') diff --git a/src/os/unix/ngx_posix_init.c b/src/os/unix/ngx_posix_init.c index e2ed96a90..f94ffffc6 100644 --- a/src/os/unix/ngx_posix_init.c +++ b/src/os/unix/ngx_posix_init.c @@ -7,6 +7,26 @@ int ngx_max_sockets; int ngx_inherited_nonblocking; +#if (NGX_POSIX_IO) + +ngx_os_io_t ngx_os_io = { + ngx_unix_recv, + ngx_readv_chain, + NULL, + ngx_writev_chain, + 0 +}; + + +int ngx_os_init(ngx_log_t *log) +{ + return ngx_posix_init(log); +} + + +#endif + + void ngx_signal_handler(int signo); -- cgit v1.2.3