mkstemp in Haskell

Volker Stolz stolz@i2.informatik.rwth-aachen.de
Tue, 27 May 2003 09:20:28 +0200


In local.libraries, you wrote:
> I needed a function for creating temporary files. Since I couldn't find
> one in the standard library, I just hacked one up using the ffi. It's in
> the haskell-libs cvs [1]. I've got an icky import of GHC.Handle to get
> openFd, any way I could get rid of it? (fdToHandle isn't enough)

It's in the Posix Spec, so we might as well put it in System.Posix.
-- 
http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME
rage against the finite state machine