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