Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-04-23 15:13:12 +0400
committerIgor Sysoev <igor@sysoev.ru>2009-04-23 15:13:12 +0400
commitc28ff717cb27e01cc40bdaebdd2c3826c0a7707d (patch)
treef0cfcf4aac2d0fb1226b4305a90916998008436b /src/os/unix/ngx_files.h
parentae2f2b105ad8e56eea73720a094961cc9e665f3d (diff)
issue start up errors and warning on both stderr and error_log
Diffstat (limited to 'src/os/unix/ngx_files.h')
-rw-r--r--src/os/unix/ngx_files.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/os/unix/ngx_files.h b/src/os/unix/ngx_files.h
index c4d2b7f32..63d080b5c 100644
--- a/src/os/unix/ngx_files.h
+++ b/src/os/unix/ngx_files.h
@@ -273,8 +273,12 @@ ngx_int_t ngx_directio_off(ngx_fd_t fd);
#endif
-
size_t ngx_fs_bsize(u_char *name);
+#define ngx_stderr STDERR_FILENO
+#define ngx_set_stderr(fd) dup2(fd, STDERR_FILENO)
+#define ngx_set_stderr_n "dup2(STDERR_FILENO)"
+
+
#endif /* _NGX_FILES_H_INCLUDED_ */