inotify-cxx.cpp File Reference

inotify C++ interface implementation More...

#include <errno.h>
#include <unistd.h>
#include <fcntl.h>
#include <fstream>
#include <sys/syscall.h>
#include <sys/inotify-syscalls.h>
#include "inotify-cxx.h"

Include dependency graph for inotify-cxx.cpp:


#define PROCFS_INOTIFY_BASE   "/proc/sys/fs/inotify/"
 procfs inotify base path
#define DUMP_SEP
 dump separator (between particular entries)

Detailed Description

inotify C++ interface implementation

inotify C++ interface

Copyright (C) 2006, 2007, 2009 Lukas Jelinek <>

This program is free software; you can redistribute it and/or modify it under the terms of one of the following licenses:

If you want to help with choosing the best license for you, please visit

Credits: Mike Frysinger (cleanup of includes)

Define Documentation

#define DUMP_SEP


({ \
    if (!rStr.empty()) { \
      rStr.append(","); \
    } \
dump separator (between particular entries)

#define PROCFS_INOTIFY_BASE   "/proc/sys/fs/inotify/"

procfs inotify base path