Implement isatty() for Linux.
authorGeorge Koehler <xkernigh@netscape.net>
Wed, 21 Sep 2016 01:28:37 +0000 (21:28 -0400)
committerGeorge Koehler <xkernigh@netscape.net>
Wed, 21 Sep 2016 01:28:37 +0000 (21:28 -0400)
commitf6dc6f68759df560217051a3c276d0b57f20ff02
tree7ec509ddbf1a48e63744347b2e314fa4cc9c9cf9
parent52ad82f8b9bcb2d951e3e1d96fbb56a7180d9105
Implement isatty() for Linux.

If it understands TIOCGETD, then it is a tty, else it isn't one.  This
seems to help Basic's input statement so I can see the prompt before
I enter my input.
plat/linux/libsys/ioctl.c [new file with mode: 0644]
plat/linux/libsys/isatty.c