From 619b731f5bb5e09dcf1eaf1fbd96383ca64398fd Mon Sep 17 00:00:00 2001 From: julian Date: Mon, 22 Jan 1996 00:02:33 +0000 Subject: Reviewed by: julian and (hsu?) Submitted by: John Birrel(L?) changes for threadsafe operations --- include/time.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/time.h') diff --git a/include/time.h b/include/time.h index 884a2fb..0c119a3 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 */ -- cgit v1.1