Messages in this thread | | | From | (david parsons) | Subject | Re: Question about stat() | Date | 21 Feb 2000 18:00:08 -0800 |
| |
In article <linux.kernel.20000220225923.L8710@mea.tmt.tele.fi>, Matti Aarnio <matti.aarnio@sonera.fi> wrote:
> Amicable goal, however I do suggest that programmer mindset is > that "time_t*" is time with ONE SECOND resolution.
programmer mindset has also included such things as
sizeof(int) == sizeof(*)
and
sizeof(long) == sizeof(*)
And, just like what happened in these cases (well, it's still happening in the sizeof(long) == sizeof(*) case) people will learn.
I'd love to see time64_t be a non-scalar type and force people to use time64diff(), time64add(), time64sub(), et al to extract the contents of it instead of the seductively simple approach of using scalars that we have now. > If you want to create a new type, call it, say: > > nanotime64_t
Ick.
____ david parsons \bi/ date_t would work. \/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |