diff options
Diffstat (limited to 'otherlibs/unix/symlink.c')
-rw-r--r-- | otherlibs/unix/symlink.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/otherlibs/unix/symlink.c b/otherlibs/unix/symlink.c deleted file mode 100644 index e4fdabd94b..0000000000 --- a/otherlibs/unix/symlink.c +++ /dev/null @@ -1,18 +0,0 @@ -#include <mlvalues.h> -#include "unix.h" - -#ifdef HAS_SYMLINK - -value unix_symlink(path1, path2) /* ML */ - value path1, path2; -{ - if (symlink(String_val(path1), String_val(path2)) == -1) - uerror("symlink", path2); - return Val_unit; -} - -#else - -value unix_symlink() { invalid_argument("symlink not implemented"); } - -#endif |