Oceanblue
unread,May 2, 2011, 11:41:10 AM5/2/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-ndk
<From $NDK/docs/system/libc/OVERVIEW.html>
time_t:
time_t is 32-bit as defined by the kernel on 32-bit CPUs. A 64-bit
version
would be preferable to avoid the Y2038 bug, but the kernel
maintainers
consider that this is not needed at the moment.
Instead, Bionic provides a <time64.h> header that defines a time64_t
type,
and related functions like mktime64(), localtime64(), etc...
</From $NDK/docs/system/libc/OVERVIEW.html>
I was wondering what exactly the second paragraph of the above quote
mean?
As I understand, 64-bit time is not currently available in Android. So
what does time64_t type & corresponding mktime64(), localtime64() do?