shithub: riscv

ref: 41be41b4936b4d58312cc99993511f0f09d6161d
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;
}