summaryrefslogtreecommitdiff
path: root/newlib/libc/syscalls/sysclose.c
blob: 632364ac1da752c758e829d7439b38761ce0f86d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* 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
}