[MLton] MLton.TextIO.mkstemps

Henry Cejtin henry.cejtin at sbcglobal.net
Wed Nov 29 12:44:53 PST 2006


The ioctl's are probably just stdio checking if it is a terminal or not.  The
fact that you see that the second arg to open has 3 bits set (which  must  be
the  O_CREAT,  O_EXCL and probably the large file thing) and you actually see
it failing the first time with errno 17 because the file  exists  means  that
the  code  REALLY  must be doing the right thing.  I don't see how this could
have failed in the compiler run.



More information about the MLton mailing list