repo.or.cz
/
newlib-cygwin.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Cygwin: lockf: Fix adding a new lock over multiple locks
[newlib-cygwin.git]
/
libgloss
/
riscv
/
sys_link.c
blob
83cd1b239b685ed6c05e3cfeab19fde1fa6655ae
1
#include <machine/syscall.h>
2
#include
"internal_syscall.h"
3
4
/* Establish a new name for an existing file. */
5
int
_link
(
const char
*
old_name
,
const char
*
new_name
)
6
{
7
return
syscall_errno
(
SYS_link
,
2
,
old_name
,
new_name
,
0
,
0
,
0
,
0
);
8
}