diff options
author | Thomas Miedema <thomasmiedema@gmail.com> | 2016-01-21 21:16:05 +0100 |
---|---|---|
committer | Thomas Miedema <thomasmiedema@gmail.com> | 2016-01-21 21:17:41 +0100 |
commit | 4c4a0a52d3ca5befd2a632544e9541703007e356 (patch) | |
tree | 36e2850e235c04a2d968d479d4e2460dca131a66 /libraries | |
parent | 2ffc2606cfc58768ddc6dd53f270ba7088c43f3c (diff) | |
download | haskell-4c4a0a52d3ca5befd2a632544e9541703007e356.tar.gz |
Fix docstring GHC.IO.Handle.FD.openFileBLocking
Fixes #4248.
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/base/GHC/IO/Handle/FD.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/base/GHC/IO/Handle/FD.hs b/libraries/base/GHC/IO/Handle/FD.hs index 181aad7831..b2c971c908 100644 --- a/libraries/base/GHC/IO/Handle/FD.hs +++ b/libraries/base/GHC/IO/Handle/FD.hs @@ -153,9 +153,9 @@ openFile fp im = (\e -> ioError (addFilePathToIOError "openFile" fp e)) -- | Like 'openFile', but opens the file in ordinary blocking mode. --- This can be useful for opening a FIFO for reading: if we open in --- non-blocking mode then the open will fail if there are no writers, --- whereas a blocking open will block until a writer appears. +-- This can be useful for opening a FIFO for writing: if we open in +-- non-blocking mode then the open will fail if there are no readers, +-- whereas a blocking open will block until a reader appear. -- -- @since 4.4.0.0 openFileBlocking :: FilePath -> IOMode -> IO Handle |