t.p._inotify : module documentation

Part of twisted.python View Source

Very low-level ctypes-based interface to Linux inotify(7).

ctypes and a version of libc which supports inotify system calls are required.
Class INotifyError Unify all the possible exceptions that can be raised by the INotify API.
Function init Create an inotify instance and return the associated file descriptor.
Function add Add a watch for the given path to the inotify file descriptor, and return the watch descriptor.
Function remove Remove the given watch descriptor from the inotify file descriptor.
Function initializeModule Intialize the module, checking if the expected APIs exist and setting the argtypes for inotify_add_watch.
def init(): (source)
Create an inotify instance and return the associated file descriptor.
def add(fd, path, mask): (source)
Add a watch for the given path to the inotify file descriptor, and return the watch descriptor.
def remove(fd, wd): (source)
Remove the given watch descriptor from the inotify file descriptor.
def initializeModule(libc): (source)
Intialize the module, checking if the expected APIs exist and setting the argtypes for inotify_add_watch.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:27:37.