Mercurial > hg > nginx-quic
view src/os/unix/ngx_time.h @ 173:4fb2a2cff023
nginx-0.0.1-2003-11-04-20:09:19 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 04 Nov 2003 17:09:19 +0000 |
parents | 7db96f59bc29 |
children | a8ff48d26cca |
line wrap: on
line source
#ifndef _NGX_TIME_H_INCLUDED_ #define _NGX_TIME_H_INCLUDED_ #include <ngx_config.h> typedef u_int ngx_msec_t; #define NGX_MAX_MSEC (u_int) -1 typedef struct tm ngx_tm_t; #define ngx_tm_sec tm_sec #define ngx_tm_min tm_min #define ngx_tm_hour tm_hour #define ngx_tm_mday tm_mday #define ngx_tm_mon tm_mon #define ngx_tm_year tm_year #define ngx_tm_wday tm_wday #define ngx_msleep(ms) usleep(ms * 1000) void ngx_localtime(ngx_tm_t *tm); ngx_msec_t ngx_msec(void); /* STUB */ #define ngx_time() time(NULL) #endif /* _NGX_TIME_H_INCLUDED_ */