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

15 lines
181 B
C
Raw Normal View History

2000-02-18 03:39:52 +08:00
/* connector for close */
#include <reent.h>
int
close (fd)
int fd;
{
#ifdef REENTRANT_SYSCALLS_PROVIDED
return _close_r (_REENT, fd);
#else
return _close (fd);
#endif
}