How can I receive signals, like in Linux with F_NOTIFY (etc etc) in Mac OS X to know when something has happened in a specific directory?
In Linux you would do someting like this:
#define _GNU_SOURCE
#include <fcntl.h>
#include <signal.h>
#include <stdio.h>
#include <unistd.h>
static...