Subject: Re: [boost] [filesystem] truncate() function?
From: Peter Foelsche (peter_foelsche_at_[hidden])
Date: 2009-10-14 12:53:11
"Beman Dawes" <bdawes_at_[hidden]> wrote in message
> The POSIX spec includes:
> "If the request would cause the file size to exceed the soft file size
> limit for the process, the request shall fail and the implementation shall
> generate the SIGXFSZ signal for the process."
This system was designed before return codes where known.
I remember having to install/uninstall signal handlers before/after doing a
write system call to a socket to prevent the system from killing my process.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk