shithub: scc

ref: 0a5224e17a101c6b0c1c7eb1e36dc9d3fd8ac120
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;
}