shithub: scc

ref: 57b7d9443f8a5ea6e19a7080f5ed310b86c3db74
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;
}