
28 Mar
2003
28 Mar
'03
9:30 a.m.
On Fri, Mar 28, 2003 at 01:39:13AM +0000, Glynn Clements wrote:
AFAICT, the correct interface is Posix.setFileTimes:
setFileTimes :: FilePath -> EpochTime -> EpochTime -> IO () setFileTimes name atime mtime = do ...
EpochTime is the Haskell equivalent of C's time_t (integral number of seconds since the epoch).
Thanks for the pointer! It seems I had totally missed the documentation on hslibs, and was thus looking in entirely the wrong place. (Feeling somewhat foolish...) -- David Roundy http://civet.berkeley.edu/droundy/