diff options
Diffstat (limited to 'otherlibs/unix/opendir.c')
-rw-r--r-- | otherlibs/unix/opendir.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/otherlibs/unix/opendir.c b/otherlibs/unix/opendir.c deleted file mode 100644 index 0fa82657fd..0000000000 --- a/otherlibs/unix/opendir.c +++ /dev/null @@ -1,17 +0,0 @@ -#include <mlvalues.h> -#include "unix.h" -#include <sys/types.h> -#ifdef HAS_DIRENT -#include <dirent.h> -#else -#include <sys/dir.h> -#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; -} |