From: Pino Toscano <pino@kde.org>
Date: Sat, 16 May 2015 13:25:56 +0000
Subject: Use tcgetattr & tcsetattr if available
X-Git-Tag: v5.11.0
X-Git-Url: http://quickgit.kde.org/?p=kpty.git&a=commitdiff&h=35ea45b588db9afcbd796576833ac338c6b4b8e8
---
Use tcgetattr & tcsetattr if available
Look for tcgetattr & tcsetattr, and use them if found before trying the
own OS checks. They are specified by POSIX.1-2008, so they should be
available on platforms implementing modern POSIX interfaces.
The rest of the fallback code is left as is for platforms not previously
using tcgetattr & tcsetattr.
REVIEW: 123811
---