shithub: scc

ref: 24b2c0e20c9d5b98a179dec81e0f48fe8bbb5034
dir: /src/libc/time/asctime.c/

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

char *
asctime(const struct tm *tm)
{
	static char buf[30];

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