Cygwin: access: Fix X_OK behaviour for backup operators and admins
[newlib-cygwin.git] / newlib / libc / sys / sysvi386 / isatty.c
blobfa1e3557f20af77225197656976b78db15e79290
1 #include <sys/termio.h>
3 int
4 isatty(fd)
5 int fd; {
6 struct termio buf;
8 if (ioctl (fd, TCGETA, &buf) == -1)
9 return 0;
10 return 1;