|
|
1.1 root 1: /*
2: * libc/gen/strftime.c
3: * C standard date and time library.
4: * difftime()
5: * ANSI 4.12.2.2.
6: * Compute difference between two times.
7: * Requires floating point.
8: */
9:
10: #include <time.h>
11:
12: double
13: difftime(t1, t0) time_t t1, t0;
14: {
15: return ((double)t1-t0);
16: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.