Welcome to mirror list, hosted at ThFree Co, Russian Federation.

sysisatty.c « syscalls « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5a6b8d455edfc53e65b318a873e8d4d548204f2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* connector for isatty */

#include <reent.h>
#include <unistd.h>

int
_DEFUN (isatty, (fd),
     int fd)
{
#ifdef REENTRANT_SYSCALLS_PROVIDED
  return _isatty_r (_REENT, fd);
#else
  return _isatty (fd);
#endif
}