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: 697c54bc49059aee420a8efdd2667684f8d77e0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* connector for isatty */

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

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