This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Demo for g_file_monitor(). | |
* | |
* Compile using: | |
* $ CFLAGS=`pkg-config --cflags gio-2.0` LDLIBS=`pkg-config --libs gio-2.0` make g_file_monitor.c | |
* | |
* It is possible to pass either a directory or a file path as argument. | |
*/ | |
#include <assert.h> | |
#include <stdio.h> |