android-cloexec-inotify-init.rst 300 Bytes

android-cloexec-inotify-init

The usage of inotify_init() is not recommended, it's better to use inotify_init1().

Examples:

inotify_init();

// becomes

inotify_init1(IN_CLOEXEC);