I've just discovered that the stat()
call, and the corresponding struct stat
, does not contain fields for the file times with precision greater than one second. For setting these times, there are a variety of {f,l}utime{n,}s()
functions, but not for getting.
How then does obtain these times with nanosecond precision, preferably using POSIX API?