File:  [MW Coherent from dump] / coherent / b / lib / libc / to_add / difftime.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:35 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

/*
 * libc/gen/strftime.c
 * C standard date and time library.
 * difftime()
 * ANSI 4.12.2.2.
 * Compute difference between two times.
 * Requires floating point.
 */

#include <time.h>

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

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.