SUSv3 who
Denys Vlasenko
vda.linux at googlemail.com
Tue Feb 3 22:44:39 UTC 2009
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
More information about the busybox
mailing list