comparison src/os/unix/ngx_files.h @ 2744:e50a2faac31d

ngx_path_separator()
author Igor Sysoev <igor@sysoev.ru>
date Thu, 23 Apr 2009 16:38:59 +0000
parents d8316f307b6a
children 77264e0157ad
comparison
equal deleted inserted replaced
2743:d8316f307b6a 2744:e50a2faac31d
158 158
159 #define ngx_realpath(p, r) realpath((char *) p, (char *) r) 159 #define ngx_realpath(p, r) realpath((char *) p, (char *) r)
160 #define ngx_realpath_n "realpath()" 160 #define ngx_realpath_n "realpath()"
161 #define ngx_getcwd(buf, size) (getcwd(buf, size) != NULL) 161 #define ngx_getcwd(buf, size) (getcwd(buf, size) != NULL)
162 #define ngx_getcwd_n "getcwd()" 162 #define ngx_getcwd_n "getcwd()"
163 #define ngx_path_separator(c) ((c) == '/')
164
163 #define NGX_MAX_PATH PATH_MAX 165 #define NGX_MAX_PATH PATH_MAX
164 166
165 #define NGX_DIR_MASK_LEN 0 167 #define NGX_DIR_MASK_LEN 0
166 168
167 169