#include <sys/inotify.h> void main() { int i; i = inotify_init(); } (11:55:22:davej@nemesis:~)$ gcc test.c test.c: In function âmainâ: test.c:4: warning: return type of âmainâ is not âintâ /home/davej/tmp/ccaFrBE5.o: In function `main':test.c:(.text+0x9): warning: warning: inotify_init is not implemented and will always fail aparently the inotify-using apps we currently ship (gnome-vfs, gamin etc) are carrying their own private copies of the headers to work around this, but users hit problems when they try to use inotify in their own apps.
The inotify syscalls were added to glibc-kernheaders in glibc-kernheaders-3_0-4 on 2006-01-23 -- for Alpha, i386, ppc, ppc64, s390, s390x and x86_64. Now that glibc has been rebuilt, the support ought to be present.
Should be fixed in glibc-2.3.90-32 and above.