1/*
2 * Copyright 2004, Axel Dörfler, axeld@pinc-software.de.
3 * Distributed under the terms of the MIT License.
4 */
5
6
7#include <time.h>
8
9
10char *
11ctime(const time_t *_timer)
12{
13	return asctime(localtime(_timer));
14}
15
16
17char *
18ctime_r(const time_t *_timer, char *buf)
19{
20	struct tm tm;
21	return asctime_r(localtime_r(_timer, &tm), buf);
22}
23
24