Mercurial > hg > nginx
comparison src/core/ngx_string.c @ 557:ecd9c160f25b release-0.3.0
nginx-0.3.0-RELEASE import
*) Change: the 10-days live time limit of worker process was
eliminated. The limit was introduced because of millisecond timers
overflow.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 07 Oct 2005 13:30:52 +0000 |
parents | 7fa11e5c6e96 |
children | e48ebafc6939 |
comparison
equal
deleted
inserted
replaced
556:21a706ff4e1f | 557:ecd9c160f25b |
---|---|
55 * %[0][width|m][u][x|X]i ngx_int_t/ngx_uint_t | 55 * %[0][width|m][u][x|X]i ngx_int_t/ngx_uint_t |
56 * %[0][width][u][x|X]D int32_t/uint32_t | 56 * %[0][width][u][x|X]D int32_t/uint32_t |
57 * %[0][width][u][x|X]L int64_t/uint64_t | 57 * %[0][width][u][x|X]L int64_t/uint64_t |
58 * %[0][width|m][u][x|X]A ngx_atomic_int_t/ngx_atomic_uint_t | 58 * %[0][width|m][u][x|X]A ngx_atomic_int_t/ngx_atomic_uint_t |
59 * %P ngx_pid_t | 59 * %P ngx_pid_t |
60 * %M ngx_msec_t | |
60 * %r rlim_t | 61 * %r rlim_t |
61 * %p pointer | 62 * %p pointer |
62 * %V pointer to ngx_str_t | 63 * %V pointer to ngx_str_t |
63 * %s null-terminated string | 64 * %s null-terminated string |
64 * %Z '\0' | 65 * %Z '\0' |
65 * %N '\n' | 66 * %N '\n' |
66 * %c char | 67 * %c char |
67 * %% % | 68 * %% % |
68 * | |
69 * TODO: | |
70 * %M ngx_msec_t | |
71 * | 69 * |
72 * reserved: | 70 * reserved: |
73 * %t ptrdiff_t | 71 * %t ptrdiff_t |
74 * %S null-teminated wchar string | 72 * %S null-teminated wchar string |
75 * %C wchar | 73 * %C wchar |
220 case 'T': | 218 case 'T': |
221 i64 = (int64_t) va_arg(args, time_t); | 219 i64 = (int64_t) va_arg(args, time_t); |
222 sign = 1; | 220 sign = 1; |
223 break; | 221 break; |
224 | 222 |
223 case 'M': | |
224 ui64 = (uint64_t) va_arg(args, ngx_msec_t); | |
225 sign = 0; | |
226 break; | |
227 | |
225 case 'z': | 228 case 'z': |
226 if (sign) { | 229 if (sign) { |
227 i64 = (int64_t) va_arg(args, ssize_t); | 230 i64 = (int64_t) va_arg(args, ssize_t); |
228 } else { | 231 } else { |
229 ui64 = (uint64_t) va_arg(args, size_t); | 232 ui64 = (uint64_t) va_arg(args, size_t); |