Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cf38120

Browse files
committed
Issue #14661: posix module: add O_EXEC, O_SEARCH, O_TTY_INIT
1 parent 15ee821 commit cf38120

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Modules/posixmodule.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11176,6 +11176,15 @@ all_ins(PyObject *d)
1117611176
#ifdef O_EXLOCK
1117711177
if (ins(d, "O_EXLOCK", (long)O_EXLOCK)) return -1;
1117811178
#endif
11179+
#ifdef O_EXEC
11180+
if (ins(d, "O_EXEC", (long)O_EXEC)) return -1;
11181+
#endif
11182+
#ifdef O_SEARCH
11183+
if (ins(d, "O_SEARCH", (long)O_SEARCH)) return -1;
11184+
#endif
11185+
#ifdef O_TTY_INIT
11186+
if (ins(d, "O_TTY_INIT", (long)O_TTY_INIT)) return -1;
11187+
#endif
1117911188
#ifdef PRIO_PROCESS
1118011189
if (ins(d, "PRIO_PROCESS", (long)PRIO_PROCESS)) return -1;
1118111190
#endif

0 commit comments

Comments
 (0)