newlib-cygwin/newlib/libc/syscalls/syslink.c

16 lines
214 B
C
Raw Normal View History

2000-02-18 03:39:52 +08:00
/* connector for link */
#include <reent.h>
int
link (old, new)
char *old;
char *new;
{
#ifdef REENTRANT_SYSCALLS_PROVIDED
return _link_r (_REENT, old, new);
#else
return _link (old, new);
#endif
}