-{-# OPTIONS_GHC -XNoImplicitPrelude -XRecordWildCards #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
+{-# LANGUAGE NoImplicitPrelude, RecordWildCards #-}
+
-----------------------------------------------------------------------------
-- |
-- Module : GHC.IO.Handle
-- This operation may fail with:
--
-- * 'isIllegalOperationError' if the Handle is not seekable, or does
--- not support the requested seek mode.
+-- not support the requested seek mode.
+--
-- * 'isPermissionError' if a system resource limit would be exceeded.
hSeek :: Handle -> SeekMode -> Integer -> IO ()