blob: 7bb82ab82ffdf1237216627160b9cf6530e7ea1c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* 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);
|