Proposal: better timestamp granularity for modificationTime/setFileTimes in System.Posix.Files[.ByteString]

Brandon Allbery allbery.b at
Mon Jun 11 20:04:30 CEST 2012

On Mon, Jun 11, 2012 at 9:25 AM, Marios Titas <redneb8888 at> wrote:

> System.Posix.Files[.ByteString] contains the following functions
> related to file times: accessTime, modificationTime, statusChangeTime,
> setFileTimes.
> All of these functions offer granularity of one second. Modern posix
> systems support newer functions (such as utimes, utimensat) that offer
> better granularity (up to 1 nanosecond).

Be aware that how these are provided varies:  Solaris, FreeBSD, and Linux
use different extensions and different types to represent them.

brandon s allbery                                      allbery.b at
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Libraries mailing list