brintos

brintos / llvm-project-archived public Read only

0
0
Text · 331 B · 0552969 Raw
19 lines · plain
1.. title:: clang-tidy - android-cloexec-fopen2 3android-cloexec-fopen4=====================5 6``fopen()`` should include ``e`` in their mode string; so ``re`` would be7valid. This is equivalent to having set ``FD_CLOEXEC on`` that descriptor.8 9Examples:10 11.. code-block:: c++12 13  fopen("fn", "r");14 15  // becomes16 17  fopen("fn", "re");18 19