shithub: scc

ref: 3c75d277b5d0bdbaff7de7d7c3a9c07a6638b75e
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;
}