>> time_t is signed so that it can also be used to store time
>> differences.
> That is the thinking that leads to bugs ... it is just the same as
> believeing that differences between pointers is a pointer.

Or that the difference between two ints is an int.

> The difference between times is an interval, or duration, not a time,
> and should not be stored in a time_t, ever.

So, what type _should_ be used for it?

/~\ The ASCII                             Mouse
\ / Ribbon Campaign
 X  Against HTML                mo...@rodents-montreal.org
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B

Reply via email to