mirror of
https://github.com/encounter/newlib.git
synced 2026-03-30 11:31:09 -07:00
18 lines
579 B
C
18 lines
579 B
C
#include "config.h"
|
|
#include <_ansi.h>
|
|
#include <_syslist.h>
|
|
#include <errno.h>
|
|
|
|
#ifdef REENTRANT_SYSCALLS_PROVIDED
|
|
//---------------------------------------------------------------------------------
|
|
int _isatty_r( struct _reent *ptr, int file) {
|
|
//---------------------------------------------------------------------------------
|
|
#else
|
|
//---------------------------------------------------------------------------------
|
|
int _isatty(int file) {
|
|
//---------------------------------------------------------------------------------
|
|
struct _reent *ptr = _REENT;
|
|
#endif
|
|
return 0;
|
|
}
|