| www.delorie.com/djgpp/doc/libc-2.01/libc_114.html | search |
#include <time.h> double difftime(time_t t1, time_t t0);
This function returns the difference in time, in seconds, from t0 to t1.
The number of seconds.
time_t t1, t0; double elapsed; time(&t0); do_something(); time(&t1); elapsed = difftime(t1, t0);
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |