mescc: Mes C Library: Fix isatty for x86_64.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sat, 23 Nov 2019 20:29:36 +0000 (21:29 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sat, 23 Nov 2019 20:29:36 +0000 (21:29 +0100)
commit5480c133aeea98845112147f1fe406be02814259
treea8ab6996127b8712e935562f43206205973538a0
parent11798d4272002a00d7e07112caf0757e2043afd1
mescc: Mes C Library: Fix isatty for x86_64.

* lib/linux/ioctl.c (ioctl3): New function.
* include/sys/ioctl.h: Declare it.
* lib/posix/isatty.c (__tcgetattr): Use it.
include/sys/ioctl.h
lib/linux/ioctl.c
lib/posix/isatty.c