git: 9front

ref: 03417fd3346d32dc8b4213d1a9cb3ec09b2d8a80
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;
}