diff options
Diffstat (limited to 'src/time/asctime.c')
-rw-r--r-- | src/time/asctime.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/time/asctime.c b/src/time/asctime.c new file mode 100644 index 00000000..3102eb87 --- /dev/null +++ b/src/time/asctime.c @@ -0,0 +1,9 @@ +#include <time.h> + +char *__asctime(const struct tm *, char *); + +char *asctime(const struct tm *tm) +{ + static char buf[26]; + return __asctime(tm, buf); +} |