blob: 5619e316e15ad2f7ac4ed15b8c34f2a6a2eb0a9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include <time.h>
/** convert arithmetic time to string **/
char * ctime(const time_t * timer)
{
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)
*/
|