Include termios.h.
commit70ef279433162bdf94b3a04fe737af85f0a08db7
authorUlrich Drepper <drepper@redhat.com>
Tue, 5 Dec 2006 21:25:29 +0000 (5 21:25 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 5 Dec 2006 21:25:29 +0000 (5 21:25 +0000)
tree66c781e4b6d5c9b69766b14fd26f637f899f87e2
parenteee36a41f4e8f110b2117320dbb1cf14f0ff8a85
Include termios.h.
(ttyname): Use tcgetattr instead of isatty, don't set errno to ENOTTY.
sysdeps/unix/sysv/linux/ttyname.c