Module: Inotify

Extended by:
FFI::Library
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/ffi-1.15.5/samples/inotify.rb

Defined Under Namespace

Classes: Event

Constant Summary collapse

IN_ACCESS =
0x00000001
IN_MODIFY =
0x00000002
IN_ATTRIB =
0x00000004
IN_CLOSE_WRITE =
0x00000008
IN_CLOSE_NOWRITE =
0x00000010
IN_CLOSE =
(IN_CLOSE_WRITE | IN_CLOSE_NOWRITE)
IN_OPEN =
0x00000020
IN_MOVED_FROM =
0x00000040
IN_MOVED_TO =
0x00000080
IN_MOVE =
(IN_MOVED_FROM | IN_MOVED_TO)
IN_CREATE =
0x00000100
IN_DELETE =
0x00000200
IN_DELETE_SELF =
0x00000400
IN_MOVE_SELF =
0x00000800
IN_UNMOUNT =

Events sent by the kernel.

0x00002000
IN_Q_OVERFLOW =
0x00004000
IN_IGNORED =
0x00008000
IN_ONLYDIR =
0x01000000
IN_DONT_FOLLOW =
0x02000000
IN_MASK_ADD =
0x20000000
IN_ISDIR =
0x40000000
IN_ONESHOT =
0x80000000
IN_ALL_EVENTS =
(IN_ACCESS | IN_MODIFY | IN_ATTRIB | IN_CLOSE_WRITE \
| IN_CLOSE_NOWRITE | IN_OPEN | IN_MOVED_FROM \
| IN_MOVED_TO | IN_CREATE | IN_DELETE \
| IN_DELETE_SELF | IN_MOVE_SELF)

Constants included from FFI::Library

FFI::Library::CURRENT_PROCESS, FFI::Library::FlagsMap, FFI::Library::LIBC

Method Summary

Methods included from FFI::Library

attach_function, attach_variable, bitmask, callback, enum, enum_type, enum_value, extended, ffi_convention, ffi_lib, ffi_lib_flags, ffi_libraries, find_type, function_names, typedef