stay compatible past 2038

时间:2018-06-05 05:04:21

标签: time posix long-integer year2038

I'm writing a piece of code that I want to work even past 2038. I need to store an epoch timestamp in a map and was wondering if I am compatible going forward when I use a long long instead of an int to store tiume(NULL) or how else I best go about this? I'm aware that even using an unsigned int would give nme plenty of more room - but is that or long long the best way to go about it?

0 个答案:

没有答案