diff options
Diffstat (limited to 'src/time/ctime_s.c')
| -rw-r--r-- | src/time/ctime_s.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/time/ctime_s.c b/src/time/ctime_s.c index c86ba1ce..aff8a533 100644 --- a/src/time/ctime_s.c +++ b/src/time/ctime_s.c @@ -1,12 +1,13 @@ -#if 0 - #include <time.h> +#include "_safety.h" /** convert arithmetic time to string **/ errno_t ctime_s(char *s, rsize_t maxsize, const time_t *timer) { - __C_EXT(1, 201112L); - return asctime(localtime(timer)); + SIGNAL_SAFE(0); + (void)s; (void)maxsize; + asctime(localtime(timer)); + return 0; } /*** @@ -24,6 +25,3 @@ fn(asctime). /* CEXT1(201112) */ - - -#endif |
