Mercurial > hg > nginx
comparison src/os/unix/ngx_time.h @ 2220:bf38420c9e25
ngx_timezone_update()
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sat, 30 Aug 2008 19:52:07 +0000 |
parents | 9c2f3ed7a247 |
children | d620f497c50f |
comparison
equal
deleted
inserted
replaced
2219:fb84e3e95841 | 2220:bf38420c9e25 |
---|---|
50 #define ngx_timezone(isdst) (- (isdst ? timezone + 3600 : timezone) / 60) | 50 #define ngx_timezone(isdst) (- (isdst ? timezone + 3600 : timezone) / 60) |
51 | 51 |
52 #endif | 52 #endif |
53 | 53 |
54 | 54 |
55 void ngx_timezone_update(void); | |
55 void ngx_localtime(time_t s, ngx_tm_t *tm); | 56 void ngx_localtime(time_t s, ngx_tm_t *tm); |
56 void ngx_libc_localtime(time_t s, struct tm *tm); | 57 void ngx_libc_localtime(time_t s, struct tm *tm); |
57 void ngx_libc_gmtime(time_t s, struct tm *tm); | 58 void ngx_libc_gmtime(time_t s, struct tm *tm); |
58 | 59 |
59 #define ngx_gettimeofday(tp) (void) gettimeofday(tp, NULL); | 60 #define ngx_gettimeofday(tp) (void) gettimeofday(tp, NULL); |