aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_time.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2002-08-20 14:48:28 +0000
committerIgor Sysoev <igor@sysoev.ru>2002-08-20 14:48:28 +0000
commit2b54238a5f2edcca568c0676a779ef79ba152c91 (patch)
tree2cb7eb660e691eaab2c4f031adf881b7c88bffc9 /src/os/unix/ngx_time.h
parente0af1b89dcd100462a3195534b2f78a838ca85b5 (diff)
downloadnginx-2b54238a5f2edcca568c0676a779ef79ba152c91.tar.gz
nginx-2b54238a5f2edcca568c0676a779ef79ba152c91.zip
nginx-0.0.1-2002-08-20-18:48:28 import
Diffstat (limited to 'src/os/unix/ngx_time.h')
-rw-r--r--src/os/unix/ngx_time.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/os/unix/ngx_time.h b/src/os/unix/ngx_time.h
index b262da7cf..f81ee4efc 100644
--- a/src/os/unix/ngx_time.h
+++ b/src/os/unix/ngx_time.h
@@ -14,6 +14,8 @@ typedef struct tm ngx_tm_t;
#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);
u_int ngx_msec(void);