summaryrefslogtreecommitdiff
path: root/otherlibs/unix/closedir.c
blob: 2701e51d6e39a364ef245df0834466471a41c611 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <mlvalues.h>
#include "unix.h"
#include <sys/types.h>
#ifdef HAS_DIRENT
#include <dirent.h>
#else
#include <sys/dir.h>
#endif

value unix_closedir(d)           /* ML */
     value d;
{
  closedir((DIR *) d);
  return Val_unit;
}