repo.or.cz
/
newlib-cygwin.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git]
/
newlib
/
libc
/
syscalls
/
sysisatty.c
blob
697c54bc49059aee420a8efdd2667684f8d77e0c
1
/* connector for isatty */
2
3
#include <reent.h>
4
#include <unistd.h>
5
6
int
7
isatty
(
int
fd
)
8
{
9
#ifdef REENTRANT_SYSCALLS_PROVIDED
10
return
_isatty_r
(
_REENT
,
fd
);
11
#else
12
return
_isatty
(
fd
);
13
#endif
14
}