Skip to content

Instantly share code, notes, and snippets.

// 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,