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

16 lines
228 B
C
Raw Normal View History

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