projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
uchar.h: define char16_t and char32_t for old c++
[musl]
/
src
/
time
/
ctime.c
1
#include <time.h>
2
3
char *ctime(const time_t *t)
4
{
5
struct tm *tm = localtime(t);
6
if (!tm) return 0;
7
return asctime(tm);
8
}