summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/rmdir.c
blob: 49e82b253a90eef8653b16fa83ae1528ace2fd5e (plain)
1
2
3
4
5
6
7
8
9
#include <mlvalues.h>
#include "unix.h"

value unix_rmdir(path)           /* ML */
     value path;
{
  if (rmdir(String_val(path)) == -1) uerror("rmdir", path);
  return Atom(0);
}