diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-06-15 17:47:16 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-06-15 17:47:16 +0000 |
commit | d09f7a1e9aa5816493e2fef93074383d95140c13 (patch) | |
tree | 4aeabb503cda16fa45c78a56881c327e97de6d12 /src/os/unix/ngx_posix_init.c | |
parent | 87350f269da4d82f2436aac91ae87fbd37ca6c16 (diff) | |
download | nginx-d09f7a1e9aa5816493e2fef93074383d95140c13.tar.gz nginx-d09f7a1e9aa5816493e2fef93074383d95140c13.zip |
nginx-0.0.7-2004-06-15-21:47:16 import
Diffstat (limited to 'src/os/unix/ngx_posix_init.c')
-rw-r--r-- | src/os/unix/ngx_posix_init.c | 20 |
1 files changed, 20 insertions, 0 deletions
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); |