Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
29f3202b731185d993a399f04d2f3e3f78db5a81
/
.
/
src
/
time
/
ctime.c
blob: 36029315128f250a86264447ee20a95bd7f366b7 [
file
] [
log
] [
blame
]
#include
<time.h>
char
*
ctime
(
const
time_t
*
t
)
{
struct
tm
*
tm
=
localtime
(
t
);
if
(!
tm
)
return
0
;
return
asctime
(
tm
);
}