source: trunk/libs/newlib/src/libgloss/riscv/sys_link.c @ 671

Last change on this file since 671 was 444, checked in by satin@…, 7 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 235 bytes
Line 
1#include <machine/syscall.h>
2#include "internal_syscall.h"
3
4/* Establish a new name for an existing file.  */
5int _link(const char *old_name, const char *new_name)
6{
7  return syscall_errno (SYS_link, old_name, new_name, 0, 0, 0, 0);
8}
Note: See TracBrowser for help on using the repository browser.