shithub: scc

ref: 435e07d3136a39d28016e829142b70315d059719
dir: /lib/c/asctime.c/

View raw version
#include <time.h>
#undef asctime

#include <stdio.h> // TODO: remove me!
char *
asctime(const struct tm *tm)
{
	static char buf[30];

	strftime(buf, sizeof(buf), "%c\n", tm);
	return buf;
}