diff options
author | Igor Sysoev <igor@sysoev.ru> | 2008-09-27 11:53:41 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2008-09-27 11:53:41 +0000 |
commit | 67366142750f08752d1b3fb2e9500e6d1c2831fb (patch) | |
tree | e4823f9677549777f2fd4a273b8ec4a3859ed76e /src/os/unix/ngx_files.h | |
parent | 0100cbc5f355478646c9c0c4a7d0a6ccd0e5aca3 (diff) | |
download | nginx-67366142750f08752d1b3fb2e9500e6d1c2831fb.tar.gz nginx-67366142750f08752d1b3fb2e9500e6d1c2831fb.zip |
$realpath_root
Diffstat (limited to 'src/os/unix/ngx_files.h')
-rw-r--r-- | src/os/unix/ngx_files.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/os/unix/ngx_files.h b/src/os/unix/ngx_files.h index d7a38d95a..d8182b4b6 100644 --- a/src/os/unix/ngx_files.h +++ b/src/os/unix/ngx_files.h @@ -145,6 +145,8 @@ ngx_int_t ngx_set_file_time(u_char *name, ngx_fd_t fd, time_t s); #endif +#define ngx_realpath(p, r) realpath((char *) p, (char *) r) +#define ngx_realpath_n "realpath()" #define ngx_getcwd(buf, size) (getcwd(buf, size) != NULL) #define ngx_getcwd_n "getcwd()" #define NGX_MAX_PATH PATH_MAX |