[MLton] MLton.TextIO.mkstemps
Stephen Weeks
sweeks at sweeks.com
Tue Nov 28 17:52:00 PST 2006
> Where is the source to mkstemps? The one in
> basis-library/mlton/io.fun
That's the right place.
> seems to use only the O_WRONLY flag instead of also including the
> O_CREAT and O_EXCL.
Here's the call:
createf (name, O_WRONLY, O.flags [O.excl],
let open S
in flags [irusr, iwusr]
end)
I see O_WRONLY and O.excl (surely O_EXCL), and Posix.FileSys.createf
automatically includes O_CREAT.
More information about the MLton
mailing list