Cygwin: lockf: Fix adding a new lock over multiple locks
[newlib-cygwin.git] / libgloss / riscv / sys_link.c
blob83cd1b239b685ed6c05e3cfeab19fde1fa6655ae
1 #include <machine/syscall.h>
2 #include "internal_syscall.h"
4 /* Establish a new name for an existing file. */
5 int _link(const char *old_name, const char *new_name)
7 return syscall_errno (SYS_link, 2, old_name, new_name, 0, 0, 0, 0);