Issue #11258 has been reported by cremno phobia.

----------------------------------------
Feature #11258: add 'x' mode character for O_EXCL
https://bugs.ruby-lang.org/issues/11258

* Author: cremno phobia
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
I just saw #11253 which contains:

>But some modes has only integer form like O_CLOEXEC, O_EXCL.

However C11 added `x` to open a file for exclusive access. It's also supported by Python.

http://port70.net/~nsz/c/c11/n1570.html#7.21.5.3p5
https://docs.python.org/3.3/library/functions.html#open



-- 
https://bugs.ruby-lang.org/