8 lines
95 B
C
8 lines
95 B
C
int isatty(int fd)
|
|
{
|
|
char* p;
|
|
|
|
if (gtty(fd, &p) < 0)
|
|
return 0;
|
|
return 1;
|
|
}
|