Mercurial > hg > nginx-quic
comparison src/core/ngx_string.h @ 2763:819bea4e964e
ngx_vslprintf(), ngx_slprintf()
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 27 Apr 2009 12:51:33 +0000 |
parents | 2f9c37445ffb |
children | 98e288c6dac3 |
comparison
equal
deleted
inserted
replaced
2762:0cc1af11760d | 2763:819bea4e964e |
---|---|
138 | 138 |
139 u_char *ngx_cpystrn(u_char *dst, u_char *src, size_t n); | 139 u_char *ngx_cpystrn(u_char *dst, u_char *src, size_t n); |
140 u_char *ngx_pstrdup(ngx_pool_t *pool, ngx_str_t *src); | 140 u_char *ngx_pstrdup(ngx_pool_t *pool, ngx_str_t *src); |
141 u_char * ngx_cdecl ngx_sprintf(u_char *buf, const char *fmt, ...); | 141 u_char * ngx_cdecl ngx_sprintf(u_char *buf, const char *fmt, ...); |
142 u_char * ngx_cdecl ngx_snprintf(u_char *buf, size_t max, const char *fmt, ...); | 142 u_char * ngx_cdecl ngx_snprintf(u_char *buf, size_t max, const char *fmt, ...); |
143 u_char *ngx_vsnprintf(u_char *buf, size_t max, const char *fmt, va_list args); | 143 u_char * ngx_cdecl ngx_slprintf(u_char *buf, u_char *last, const char *fmt, |
144 ...); | |
145 u_char *ngx_vslprintf(u_char *buf, u_char *last, const char *fmt, va_list args); | |
146 #define ngx_vsnprintf(buf, max, fmt, args) \ | |
147 ngx_vslprintf(buf, buf + (max), fmt, args) | |
144 | 148 |
145 ngx_int_t ngx_strcasecmp(u_char *s1, u_char *s2); | 149 ngx_int_t ngx_strcasecmp(u_char *s1, u_char *s2); |
146 ngx_int_t ngx_strncasecmp(u_char *s1, u_char *s2, size_t n); | 150 ngx_int_t ngx_strncasecmp(u_char *s1, u_char *s2, size_t n); |
147 | 151 |
148 u_char *ngx_strnstr(u_char *s1, char *s2, size_t n); | 152 u_char *ngx_strnstr(u_char *s1, char *s2, size_t n); |