Author vstinner
Recipients alexey-smirnov, amaury.forgeotdarc, christian.heimes, neologix, pitrou, rosslagerwall, sbt, vstinner
Date 2013-01-08.23:07:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
According to the following script, FD_CLOEXEC is available on:
 * Solaris 8
 * HP-UX 11
 * Unicos 9.0
 * Digital UNIX 4.0
 * SunOS 4.1.1_U1
 * IRIX 6.5
 * Linux 2.0 and Linux 2.4 with glibc 2.2.3
 * AIX 4.2
(Versions are tested versions, it doesn't mean that the flag didn't exist before)


Note: On Windows, it's possible to implement fcntl(fd, F_SETFD, FD_CLOEXEC) using: SetHandleInformation(fd, HANDLE_FLAG_INHERIT, 1). See for example:

I don't know if it's useful since it's possible to set the flag directly when the file is opened (using O_NOINHERIT).
Date User Action Args
2013-01-08 23:07:15vstinnersetrecipients: + vstinner, amaury.forgeotdarc, pitrou, christian.heimes, neologix, rosslagerwall, sbt, alexey-smirnov
2013-01-08 23:07:15vstinnersetmessageid: <>
2013-01-08 23:07:15vstinnerlinkissue16850 messages
2013-01-08 23:07:14vstinnercreate