diff options
Diffstat (limited to 'src/time/ctime.c')
-rw-r--r-- | src/time/ctime.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/time/ctime.c b/src/time/ctime.c new file mode 100644 index 00000000..185ec554 --- /dev/null +++ b/src/time/ctime.c @@ -0,0 +1,6 @@ +#include <time.h> + +char *ctime(const time_t *t) +{ + return asctime(localtime(t)); +} |