O_CLOEXEC

Ulrich Drepper (drepper@redhat.com)
11 Apr 2000 23:12:26 -0700


Some time back somebody proposed to at O_CLOEXEC as a flag for open
which automatically sets the FD_CLOEXEC flag for the new file
descriptor. I've never heard a reason why this wasn't implemented.
It could save quite a few system calls in various daemons and also the
libc.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/