Hi Bernhard,
Thanks for the review.
On Tuesday 03 February 2009 19:19, Bernhard Reutner-Fischer wrote:
> > t = time(NULL) - st.st_atime;
>
> difftime()
Interesting, didn't know about this function...
#include <time.h>
double difftime(time_t time1, time_t time0);
...
This function is required by ANSI C. On a POSIX system, time_t is an
arithmetic type, and one could just define
#define difftime(t1,t0) (double)(t1 - t0)
Doesn't look too encouraging.
--
vda
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox