[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/usr.sbin/envstat
On Sun, 16 Dec 2012, David Holland wrote:
> On Fri, Dec 14, 2012 at 06:18:57PM +0100, Marc Balmer wrote:
> > proper resource management is a good thing - if the code continues
> > to run. In this case, where the program exits, there no benefit
> > from freeing up memory etc.
is that a technical argument?
I didn't understand it, in any case.. can you explain why, in C, when
exit() explicitly closes all open file descriptors and releases any memory
etc (see a detailed list in exit(3) and _exit(3)), there might be a
benefit in doing so formally before calling exit() ?
Main Index |
Thread Index |