mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-15 19:09:58 +08:00
15 lines
181 B
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
|
|
}
|