unix-2.5.1.0: POSIX functionality

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

System.Posix.Temp.ByteString

Description

POSIX environment support

Synopsis

Documentation

mkstemp :: ByteString -> IO (RawFilePath, Handle)Source

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