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

15 lines
181 B
C

/* 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
}