projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2005-01-07 12:22:18 by simonmar]
[ghc-base.git]
/
System
/
IO.hs
diff --git
a/System/IO.hs
b/System/IO.hs
index
f94dca6
..
729806f
100644
(file)
--- a/
System/IO.hs
+++ b/
System/IO.hs
@@
-57,9
+57,12
@@
module System.IO (
-- * Operations on handles
-- * Operations on handles
- -- ** Determining the size of a file
+ -- ** Determining and changing the size of a file
hFileSize, -- :: Handle -> IO Integer
hFileSize, -- :: Handle -> IO Integer
+#ifdef __GLASGOW_HASKELL__
+ hSetFileSize, -- :: Handle -> Integer -> IO ()
+#endif
-- ** Detecting the end of input
-- ** Detecting the end of input
@@
-152,6
+155,13
@@
module System.IO (
hGetBufNonBlocking, -- :: Handle -> Ptr a -> Int -> IO Int
#endif
hGetBufNonBlocking, -- :: Handle -> Ptr a -> Int -> IO Int
#endif
+ -- * Temporary files
+
+#ifdef __GLASGOW_HASKELL__
+ openTempFile,
+ openBinaryTempFile,
+#endif
+
module System.IO.Error,
) where
module System.IO.Error,
) where