repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git]
/
clang-tools-extra
/
docs
/
clang-tidy
/
checks
/
android
/
cloexec-inotify-init.rst
blob
cee4c7bf4fed5bb76b664b0548d0685677ed90af
1
.. title:: clang-tidy - android-cloexec-inotify-init
2
3
android-cloexec-inotify-init
4
============================
5
6
The usage of ``inotify_init()`` is not recommended, it's better to use
7
``inotify_init1()``.
8
9
Examples:
10
11
.. code-block:: c++
12
13
inotify_init();
14
15
// becomes
16
17
inotify_init1(IN_CLOEXEC);