Mercurial > hg > nginx
comparison src/os/unix/ngx_posix_init.c @ 355:0fb6c53fb135
nginx-0.0.7-2004-06-15-21:47:16 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 15 Jun 2004 17:47:16 +0000 |
parents | eaf1f651cf86 |
children | 018569a8f09c |
comparison
equal
deleted
inserted
replaced
354:eaf1f651cf86 | 355:0fb6c53fb135 |
---|---|
3 #include <ngx_core.h> | 3 #include <ngx_core.h> |
4 | 4 |
5 | 5 |
6 int ngx_max_sockets; | 6 int ngx_max_sockets; |
7 int ngx_inherited_nonblocking; | 7 int ngx_inherited_nonblocking; |
8 | |
9 | |
10 #if (NGX_POSIX_IO) | |
11 | |
12 ngx_os_io_t ngx_os_io = { | |
13 ngx_unix_recv, | |
14 ngx_readv_chain, | |
15 NULL, | |
16 ngx_writev_chain, | |
17 0 | |
18 }; | |
19 | |
20 | |
21 int ngx_os_init(ngx_log_t *log) | |
22 { | |
23 return ngx_posix_init(log); | |
24 } | |
25 | |
26 | |
27 #endif | |
8 | 28 |
9 | 29 |
10 void ngx_signal_handler(int signo); | 30 void ngx_signal_handler(int signo); |
11 | 31 |
12 | 32 |