diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-10-04 00:02:06 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-10-04 00:02:06 +0400 |
commit | aad1b89b68b0651b5729b15203081f6b4620847a (patch) | |
tree | 8a5906c3607c082e27d4d8ebc1e9a9e5b42822b5 /src/os/unix/ngx_os.h | |
parent | 8035fd27919d1f598b0d655a3bf30200220462d3 (diff) |
nginx-0.1.0-2004-10-04-00:02:06 import
Diffstat (limited to 'src/os/unix/ngx_os.h')
-rw-r--r-- | src/os/unix/ngx_os.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/os/unix/ngx_os.h b/src/os/unix/ngx_os.h index 0ddb93bac..b28a73ffb 100644 --- a/src/os/unix/ngx_os.h +++ b/src/os/unix/ngx_os.h @@ -44,10 +44,12 @@ typedef struct { void ngx_debug_init(); -int ngx_os_init(ngx_log_t *log); -int ngx_daemon(ngx_log_t *log); -int ngx_posix_init(ngx_log_t *log); -int ngx_posix_post_conf_init(ngx_log_t *log); +ngx_int_t ngx_os_init(ngx_log_t *log); +void ngx_os_status(ngx_log_t *log); +ngx_int_t ngx_daemon(ngx_log_t *log); +ngx_int_t ngx_posix_init(ngx_log_t *log); +void ngx_posix_status(ngx_log_t *log); +ngx_int_t ngx_posix_post_conf_init(ngx_log_t *log); ssize_t ngx_unix_recv(ngx_connection_t *c, u_char *buf, size_t size); @@ -58,10 +60,11 @@ ngx_chain_t *ngx_writev_chain(ngx_connection_t *c, ngx_chain_t *in, extern ngx_os_io_t ngx_os_io; -extern int ngx_ncpu; -extern int ngx_max_sockets; -extern int ngx_inherited_nonblocking; +extern ngx_int_t ngx_ncpu; +extern ngx_int_t ngx_max_sockets; +extern ngx_int_t ngx_inherited_nonblocking; +#define ngx_stderr_fileno STDERR_FILENO #ifdef __FreeBSD__ #include <ngx_freebsd.h> |