monitor_readdir
int monitor_readdir(char *, size_t);
while ((fd = monitor_readdir(file, sizeof file)) != -1) {