ref: e40f4519460f270599ec1ae9b96b6f9558312a9b dir: /sys/src/ape/lib/ap/gen/difftime.c/
#include <time.h> /* Difference in seconds between two calendar times */ double difftime(time_t t1, time_t t0) { return (double)t1-(double)t0; }