ctime.c\time\src - musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/time/ctime.c
blob: 36029315128f250a86264447ee20a95bd7f366b7 (plain) (blame)
1
2
3
4
5
6
7
8
#include <time.h>
char *ctime(const time_t *t)
{
	struct tm *tm = localtime(t);
	if (!tm) return 0;
	return asctime(tm);
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年10月04日 04:15:18 +0000

AltStyle によって変換されたページ (->オリジナル) /