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
// clang -framework CoreFoundation -framework CoreServices fs_events.c | |
#include <CoreFoundation/CoreFoundation.h> | |
#include <CoreServices/CoreServices.h> | |
#include <stdio.h> | |
static void callback(ConstFSEventStreamRef stream, | |
void *info, | |
size_t num_events, |