shithub: scc

ref: 8e212d00e17c23b79489215d6cc41da22381a550
dir: /lib/c/time/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;
}