Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 58 lines (45 sloc) 1.66 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
{-# LANGUAGE Trustworthy #-}
{-# OPTIONS_HADDOCK hide #-}

-----------------------------------------------------------------------------
-- |
-- Module : GHC.Handle
-- Copyright : (c) The University of Glasgow, 1994-2001
-- License : see libraries/base/LICENSE
--
-- Maintainer : libraries@haskell.org
-- Stability : internal
-- Portability : non-portable
--
-- Backwards-compatibility interface
--
-----------------------------------------------------------------------------

-- #hide
module GHC.Handle {-# DEPRECATED "use GHC.IO.Handle instead" #-} (
  withHandle, withHandle', withHandle_,
  wantWritableHandle, wantReadableHandle, wantSeekableHandle,

-- newEmptyBuffer, allocateBuffer, readCharFromBuffer, writeCharIntoBuffer,
-- flushWriteBufferOnly, flushWriteBuffer,
-- flushReadBuffer,
-- fillReadBuffer, fillReadBufferWithoutBlocking,
-- readRawBuffer, readRawBufferPtr,
-- readRawBufferNoBlock, readRawBufferPtrNoBlock,
-- writeRawBuffer, writeRawBufferPtr,

  ioe_closedHandle, ioe_EOF, ioe_notReadable, ioe_notWritable,

  stdin, stdout, stderr,
  IOMode(..), openFile, openBinaryFile,
-- fdToHandle_stat,
  fdToHandle, fdToHandle',
  hFileSize, hSetFileSize, hIsEOF, isEOF, hLookAhead, hLookAhead_,
  hSetBuffering, hSetBinaryMode,
  hFlush, hDuplicate, hDuplicateTo,

  hClose, hClose_help,

  HandlePosition, HandlePosn(..), hGetPosn, hSetPosn,
  SeekMode(..), hSeek, hTell,

  hIsOpen, hIsClosed, hIsReadable, hIsWritable, hGetBuffering, hIsSeekable,
  hSetEcho, hGetEcho, hIsTerminalDevice,

  hShow,

 ) where

import GHC.IO.IOMode
import GHC.IO.Handle
import GHC.IO.Handle.Internals
import GHC.IO.Handle.FD

Something went wrong with that request. Please try again.