#include #include "unix.h" #include #ifdef HAS_DIRENT #include #else #include #endif value unix_opendir(path) /* ML */ value path; { DIR * d; d = opendir(String_val(path)); if (d == (DIR *) NULL) uerror("opendir", path); return (value) d; }