I would like to know how to truncate a file under MS/Windows. When I use any of the functions Unix.(LargeFile.)[f]truncate I get these exceptions: Exception: Invalid_argument "Unix.truncate not implemented". Exception: Invalid_argument "Unix.LargeFile.ftruncate not implemented". 1) I thought that the module Unix only contains portable things for Windows, so it's not true?
-- RMA.