bool KPty::tcGetAttr(struct ::termios *ttmode) const { Q_D(const KPty); #ifdef Q_OS_SOLARIS if (_tcgetattr(d->slaveFd, ttmode) == 0) return true; #endif return _tcgetattr(d->masterFd, ttmode) == 0; }
bool KPty::tcGetAttr(struct ::termios * ttmode) const { Q_D(const KPty); return _tcgetattr(d->masterFd, ttmode) == 0; }