Please google the kqueue man page. There's many filters for kqueues. Specifically look at the VNODE filter. Here's the link: https://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2 You want to watch a directory? Open…
Please google the kqueue man page. There's many filters for kqueues. Specifically look at the VNODE filter. Here's the link: https://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2 You want to watch a directory? Open…