1 2 3 4 5 6 7 8
import System.IO -- !!! test hFileSize main = do h <- openFile "hFileSize001.hs" ReadMode sz <- hFileSize h print sz