cvs commit: fptools/ghc/lib/std PrelHandle.hs PrelIO.hs PrelPosix.hsc

Sigbjorn Finne sof@glass.cse.ogi.edu
Thu, 27 Dec 2001 01:28:11 -0800


sof         2001/12/27 01:28:11 PST

  Modified files:
    ghc/lib/std          PrelHandle.hs PrelIO.hs PrelPosix.hsc 
  Log:
  - removed PrelPosix.c_read, PrelPosix.c_write
  - added Ptr and RawBuffer versions of PrelHandle.write_off,
    and PrelHandle.read_off and exported them, i.e., PrelHandle
    now exports:
  
      read_off_ba :: FD -> Bool -> RawBuffer -> Int -> CInt -> IO CInt
      read_off :: FD -> Bool -> Ptr CChar -> Int -> CInt -> IO CInt
      write_off_ba :: CInt -> Bool -> RawBuffer -> Int -> CInt -> IO CInt
      write_off :: CInt -> Bool -> Ptr CChar -> Int -> CInt -> IO CInt
  
  - make hPutChar (win)socket friendly.
  
  Revision  Changes    Path
  1.7       +14 -8     fptools/ghc/lib/std/PrelHandle.hs
  1.6       +4 -4      fptools/ghc/lib/std/PrelIO.hs
  1.19      +0 -6      fptools/ghc/lib/std/PrelPosix.hsc