Missing ftruncate

John Goerzen jgoerzen at complete.org
Tue Jan 4 12:00:27 EST 2005

On Tue, Jan 04, 2005 at 04:39:50PM -0000, Simon Marlow wrote:
> There are System.Posix.setFileSize and System.Posix.setFdSize, which are
> direct interfaces to truncate(2) and ftruncate(2) respectively.

Thanks, Simon.  I have no idea how I missed that.  It's exactly what I
am looking for.

-- John

More information about the Libraries mailing list