Filesystem notification, part 2: A deeper investigation of inotify
Filesystem notification, part 2: A deeper investigation of inotify
Posted Aug 7, 2014 9:05 UTC (Thu) by mkerrisk (subscriber, #1978)In reply to: Filesystem notification, part 2: A deeper investigation of inotify by poruid
Parent article: Filesystem notification, part 2: A deeper investigation of inotify
They're both equivalent, of course. The form I used feels slightly more natural (to me). If I'd done it the other way, I'd probably rather have written:
if (errno != ENOENT) exit(EXIT_FAILURE); return 0;