unix-2.4.1.0: POSIX functionality

Portabilitynon-portable (requires POSIX)
Stabilityprovisional
Maintainervs@foldr.org

System.Posix.Temp

Description

POSIX environment support

Synopsis

Documentation

mkstemp :: String -> IO (FilePath, Handle)Source

mkstemp - make a unique filename and open it for reading/writing (only safe on GHC & Hugs). The returned FilePath is the (possibly relative) path of the created file, which is padded with 6 random characters.