shithub: riscv

ref: 02dce7a2e4fd74d918cf7cd1f23fc99279365eb9
dir: /sys/src/ape/lib/ap/gen/difftime.c/

View raw version
#include <time.h>

/* Difference in seconds between two calendar times */

double
difftime(time_t t1, time_t t0)
{
	return (double)t1-(double)t0;
}