ghc-internal-9.1001.0: Basic libraries
Copyright(c) The University of Glasgow 2017
Licensesee libraries/base/LICENSE
Maintainerlibraries@haskell.org
Stabilityinternal
Portabilitynon-portable
Safe HaskellTrustworthy
LanguageHaskell2010

GHC.Internal.IO.StdHandles

Description

This model abstracts away the platform specific handles that can be toggled through the RTS.

Documentation

withFile :: FilePath -> IOMode -> (Handle -> IO r) -> IO r Source #