Welcome to... ... the GNU Hurd!
routine dir_notice_changes ( directory: file_t; RPT port: mach_port_send_t);
Notice changes to directory dir. Send directory change notifications (see ?fs notify.defs) to port as they occur.
dir
fs notify.defs
port