forked from OSchip/llvm-project
18 lines
300 B
ReStructuredText
18 lines
300 B
ReStructuredText
.. 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);
|