On Tue 2012/01/24 08:22:41 -0000, "Poul-Henning Kamp" wrote in a message to: Mark Calabretta <[email protected]> and copied to: Leap Second Discussion List <[email protected]>
>> int tmdiff(const struct tm *tm1, const struct tm *tm2, double *diff); >> >> Return the time interval, *tm2 - *tm1, in SI seconds. > >ENOCANDO As a further example of the need to handle future dates, consider that of producing Gantt charts and the like for project management. These do require a time interval and not just the representation and ordering of future events. I don't think you have much hope of getting your realtime_t proposal accepted by the wider unix community if ENOCANDO is the best it can do for such. >Ohh, and btw: That function is a hell to write and it will never >qualify as efficient... It's no more complicated than tm_realtime(), and no slower than two invokations of it. Regards, Mark _______________________________________________ LEAPSECS mailing list [email protected] http://six.pairlist.net/mailman/listinfo/leapsecs
