4.1cBSD/usr/src/new/courier/examples/time/Time.c

Compare this file to the similar file:
Show the results in this format:

#include <stdio.h>
#include "Time.h"

Time *localtime(), *gmtime();

Time
LocalTime()
{
	LongCardinal t;

	time(&t);
	return (*localtime(&t));
}

Time
GMTime()
{
	LongCardinal t;

	time(&t);
	return (*gmtime(&t));
}