summaryrefslogtreecommitdiff
path: root/include/time.h
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>1996-01-22 00:02:33 +0000
committerJulian Elischer <julian@FreeBSD.org>1996-01-22 00:02:33 +0000
commitf70177e76e605ec6e6cd5b938fa77ade5d380e87 (patch)
treea89c7f50ec371cef4418259b9dccdd31ebb2f61f /include/time.h
parent61de51cad66df0d565233915f856932159d33a4a (diff)
downloadsrc-test2-f70177e76e605ec6e6cd5b938fa77ade5d380e87.tar.gz
src-test2-f70177e76e605ec6e6cd5b938fa77ade5d380e87.zip
Notes
Diffstat (limited to 'include/time.h')
-rw-r--r--include/time.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h
index 884a2fb9bfd6..0c119a3c3ede 100644
--- a/include/time.h
+++ b/include/time.h
@@ -100,6 +100,13 @@ time_t mktime __P((struct tm *));
size_t strftime __P((char *, size_t, const char *, const struct tm *));
time_t time __P((time_t *));
+#ifdef _THREAD_SAFE
+int asctime_r __P((const struct tm *, char *, int));
+int ctime_r __P((const time_t *, char *, int));
+int gmtime_r __P((const time_t *, struct tm *));
+int localtime_r __P((const time_t *, struct tm *));
+#endif
+
#ifndef _ANSI_SOURCE
void tzset __P((void));
#endif /* not ANSI */