Some filesystems (e.g. ext4 and JFS) offer nanosecond resolution of atime/mtime fields. How can I read ns-resolution fields? The stat syscall returns time_t which is a second-resolution.
Some filesystems (e.g. ext4 and JFS) offer nanosecond resolution of atime/mtime fields. How can
Share
The second-resolution times are in the fields:
But “NOTES” section of the man http://www.kernel.org/doc/man-pages/online/pages/man2/stat.2.html says:
So, nsec parts of times are in the same “struct stat”: ( /usr/include/asm/stat.h )