Sign in
pigweed
/
third_party
/
github
/
FreeRTOS
/
FreeRTOS-Kernel
/
9c0c37ab9b56f2c90085b78df2f58b5833e473db
/
.
/
FreeRTOS
/
Demo
/
RISC-V-Qemu-sifive_e-Eclipse-GCC
/
freedom-e-sdk
/
libwrap
/
sys
/
isatty.c
blob: d65f932ff2bc6400b41b9c4791386482c91f968c [
file
] [
log
] [
blame
]
/* See LICENSE of license details. */
#include
<unistd.h>
#include
"weak_under_alias.h"
int
__wrap_isatty
(
int
fd
)
{
if
(
fd
==
STDOUT_FILENO
||
fd
==
STDERR_FILENO
)
return
1
;
return
0
;
}
weak_under_alias
(
isatty
);