mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Issue #12105: Add O_CLOEXEC to the os module.
This commit is contained in:
parent
f738d33e5d
commit
1e045b1831
4 changed files with 13 additions and 0 deletions
|
@ -9783,6 +9783,9 @@ all_ins(PyObject *d)
|
|||
#ifdef PRIO_USER
|
||||
if (ins(d, "PRIO_USER", (long)PRIO_USER)) return -1;
|
||||
#endif
|
||||
#ifdef O_CLOEXEC
|
||||
if (ins(d, "O_CLOEXEC", (long)O_CLOEXEC)) return -1;
|
||||
#endif
|
||||
/* posix - constants for *at functions */
|
||||
#ifdef AT_SYMLINK_NOFOLLOW
|
||||
if (ins(d, "AT_SYMLINK_NOFOLLOW", (long)AT_SYMLINK_NOFOLLOW)) return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue