Question about reentrant ctime and asctime
Oct. 31, 1995
1:58 a.m.
In my previous message, I mentioned that I'd submit versions of asctime_r and ctime_r later this evening. However, I discovered that most systems declare these as: int asctime_r (const struct tm *, char *, int); int ctime_r (const time_t *, char *, int); while Solaris provides: char *asctime_r (const struct tm *, char *, int); char *ctime_r (const time_t *, char *, int); *AND* char *asctime_r (const struct tm *, char *) char *ctime_r (const time_t *, char *); Naturally I'd like to implement the interface standardized by whatever POSIX standard covers this (realtime?, threads?). If someone with the appropriate standards document could point out the correct interface, please let me know. --jtc
11091
Age (days ago)
11091
Last active (days ago)
0 comments
1 participants
participants (1)
-
J.T. Conklin