projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
cff6e9fe4334fc801d921951c0ff82618cdcf44e
[musl]
/
isatty.c
1
#include <unistd.h>
2
#include <termios.h>
3
4
int isatty(int fd)
5
{
6
struct termios t;
7
return tcgetattr(fd, &t) == 0;
8
}