shithub: scc

ref: 9332f34cf7bae72b9ccaa290cae5a1eec3f34f3d
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;
}