source:
trunk/libs/newlib/src/newlib/libc/syscalls/sysisatty.c
Last change on this file was 444, checked in by , 6 years ago | |
---|---|
File size: 196 bytes |
Rev | Line | |
---|---|---|
[444] | 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 | } |
Note: See TracBrowser
for help on using the repository browser.