filesize -package:hackage-security -package:http-client -package:unix -package:pantry -package:ghc-lib -package:tar-conduit -package:ghc
For a handle hdl
which attached to a physical file,
returns the size of that file in 8-bit
hSetFileSize hdl size
truncates the physical
file with handle hdl
Obtain the size of a file in bytes.