shithub: scc

ref: 4eaac6bfb11cc84259e8b418d4babffdf1c637eb
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;
}