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

15 lines
195 B
C
Raw Normal View History

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