Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

#ifdef HAVE_CONFIG_H
#include <ldns/config.h>
#endif

#ifdef HAVE_TIME_H
#include <time.h>
#endif

char *ctime_r(const time_t *timep, char *buf)
{
	/* no thread safety. */
	char* result = ctime(timep);
	if(buf && result)
		strcpy(buf, result);
	return result;
}