[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: linux has added "close on exec" flags to lots of fd calls
On Mon, Aug 04, 2008 at 03:08:16PM -0400, Perry E. Metzger wrote:
> Joerg Sonnenberger <joerg%britannica.bec.de@localhost> writes:
> > On Mon, Aug 04, 2008 at 06:13:26PM +0100, Love H?rnquist ?strand wrote:
> >>> On second thought and as written in the blog, it doesn't make sense at
> >>> all. sigprocmask and mutexes allow doing this in portable code.
> >> Assume you are a library that wants to open a file, what mutex should
> >> you lock ?
> > Define one.
> Seems easier just to do open with the additional flag.
Not if you want to write portable software.
Main Index |
Thread Index |