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

15 lines
191 B
C

/* connector for close */
#include <reent.h>
int
_DEFUN (close, (fd),
int fd)
{
#ifdef REENTRANT_SYSCALLS_PROVIDED
return _close_r (_REENT, fd);
#else
return _close (fd);
#endif
}