source: trunk/libs/newlib/src/newlib/libc/syscalls/sysisatty.c @ 444

Last change on this file since 444 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 196 bytes
Line 
1/* connector for isatty */
2
3#include <reent.h>
4#include <unistd.h>
5
6int
7isatty (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.