Re:2038: Only 21 years away
by tdhoot on Tuesday March 21, 2017 @10:57PM
(#13928170)
Why not just use int32 for nanoseconds then?
[ Parent
| on HN ]
Re:2038: Only 21 years away
by Dylan16807 on Wednesday March 22, 2017 @06:22AM
(#13929763)
The nanoseconds field in timespec is actually a long, for some reason. I have no idea why it's not fixed-size.
Let's not even get into timeval which uses the same size field for microseconds.