OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
r288@cf-ppc-macosx: monabuilder | 2008-12-07 13:17:34 +0900
[pf3gnuchains/pf3gnuchains3x.git]
/
newlib
/
libc
/
sys
/
sysvi386
/
isatty.c
1
#include <sys/termio.h>
2
3
int
4
isatty(fd)
5
int fd; {
6
struct termio buf;
7
8
if (ioctl (fd, TCGETA, &buf) == -1)
9
return 0;
10
return 1;
11
}