Re: [PATCH 00/25] Change time_t and clock_t to 64 bit

H. Peter Anvin
2014-05-16T23:07:29Z

On 05/16/2014 12:48 AM, Christoph Hellwig wrote:
>
> The stat(64) syscall already has stopped time_t for a long time:
>
> struct stat64 {
> ...
> int st_atime; /* Time of last access. */
> unsigned int st_atime_nsec;
> int st_mtime; /* Time of last modification. */
> unsigned int st_mtime_nsec;
> int st_ctime; /* Time of last status change. */
> unsigned int st_ctime_nsec;
> };
>

... except that that is really a struct timespec just written weirdly,
and userspace uses it as a struct timespec.

-hpa