summaryrefslogtreecommitdiff
path: root/src/time/ctime.c
blob: 6502c0ab139f9300b855c930285033e4e05ac67d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#if 0

#include <time.h>

/** convert arithmetic time to string **/

char * ctime(const time_t * timer)
{
	#ifdef _POSIX_SOURCE
	tzset();
	#endif

	return asctime(localtime(timer));
}

/***
converts the time at ARGUMENT(timer) to a string in the same format as
FUNCTION(asctime).
***/

/*
RETURN_ALWAYS(a pointer to the string)
STDC(1)
*/


#endif