Searched refs:NGX_MAXHOSTNAMELEN (Results 1 – 3 of 3) sorted by relevance
125 #define NGX_MAXHOSTNAMELEN MAXHOSTNAMELEN macro127 #define NGX_MAXHOSTNAMELEN 256 macro
14 + (NGX_MAXHOSTNAMELEN - 1) + 1 /* space */ \
55 char hostname[NGX_MAXHOSTNAMELEN]; in ngx_init_cycle()196 if (gethostname(hostname, NGX_MAXHOSTNAMELEN) == -1) { in ngx_init_cycle()204 hostname[NGX_MAXHOSTNAMELEN - 1] = '\0'; in ngx_init_cycle()