blob: cee4c7bf4fed5bb76b664b0548d0685677ed90af [file] [log] [blame]
.. title:: clang-tidy - android-cloexec-inotify-init
android-cloexec-inotify-init
============================
The usage of ``inotify_init()`` is not recommended, it's better to use
``inotify_init1()``.
Examples:
.. code-block:: c++
inotify_init();
// becomes
inotify_init1(IN_CLOEXEC);