shithub: scc

ref: c7b8a9f86b3e6aecc69448a6aa724938a57c9de2
dir: /lib/c/time/asctime.c/

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

#include <stdio.h> // TODO: remove me!
char *
asctime(const struct tm *tm)
{
	static char buf[30];

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