O_CLOEXEC

From: Ulrich Drepper (drepper@redhat.com)
Date: Wed Apr 12 2000 - 01:12:26 EST


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/



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:18 EST