projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix signal.h breakage from moving stack_t to arch-specific bits
[musl]
/
src
/
unistd
/
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
}