TCGETA
ret_orig = ioctl(dcf, TCGETA, &tty_orig);
if ( (*Ioctl)(fn, TCGETA, &ttybuf) != 0 ) {
(void) ioctl (0, TCGETA, &termio);
(void) ioctl (fileno(_Fdl), TCGETA, &termio);
(void)ioctl(Cn, TCGETA, &_Tv);
(void)ioctl(Cn, TCGETA, &_Tv);
(void)ioctl(TTYIN, TCGETA, &_Tv);
if(ioctl(arg, TCGETA, &xv) < 0) {
Saved_tty = ( ioctl(TTYIN, TCGETA, &_Tv0) == 0 );
(void) ioctl (Cn, TCGETA, &_Lv);
if (ioctl(Ifn, TCGETA, &ttbuf) >= 0) {
ioctl(Ifn, TCGETA, &ttbuf);
if ((*Ioctl)(tty, TCGETA, &ttbuf) != 0) {
if ((*Ioctl)(dcf, TCGETA, &ttbuf) != 0)
if ((*Ioctl)(Ifn, TCGETA, &tbuf) != 0) {
if ((*Ioctl)(0, TCGETA, &Savettyb) != 0) {
if ((*Ioctl)(tty, TCGETA, &ttbuf) != 0) {
if ((*Ioctl)(tty, TCGETA, &ttbuf) != 0)
#define get_term_param(param) ioctl(0, TCGETA, param)
ioctl(0, TCGETA, &b);
if (!ioctl(1, TCGETA, &arg) &&
if (ioctl(0, TCGETA, &termio) == 0) {
ioctl(1, TCGETA, &tio);
if ( ioctl(ttyi, TCGETA, &termio) == -1 ) {
if ( ioctl(ttyi, TCGETA, &termio) == -1 )
if ( ioctl(0, TCGETA, &oldtermio) == -1 )
if (ioctl(1, TCGETA, &tm) < 0) {
if (ioctl(1, TCGETA, &tbuf)==0) {
if (ioctl(fileno(stdout), TCGETA, &savtty) < 0)
if (!(no_tty = ioctl(1, TCGETA, &otty))) {
no_intty = ioctl(0, TCGETA, &otty);
ioctl(2, TCGETA, &otty);
ioctl(2, TCGETA, &otty); /* save old tty modes */
ioctl(2, TCGETA, &ntty);
(void) ioctl(fileno(stdout), TCGETA, &otty);
(void) ioctl(fileno(stdout), TCGETA, &ntty);
(void) ioctl(fileno(stdin), TCGETA, &tty);
if (ioctl(STDIN, TCGETA, &termio) >= 0)
(void) ioctl(fd, TCGETA, &ttymodes);
if (ioctl(1, TCGETA, &ttyold) == 0) {
#define GTTY(fd, mode) ioctl(fd, TCGETA, mode)
if (ioctl(0, TCGETA, &ttys) >= 0)
{ (uint_t)TCGETA, "TCGETA", NULL }, /* 1 */
case TCGETA:
if (ioctl(fd, TCGETA, termio) == -1)
if (ioctl(fd, TCGETA, &termio) == -1) {
if (ioctl(fd, TCGETA, &termio) != 0) {
if (ioctl(fd, TCGETA, &termio) < 0) {
if(ioctl(i, TCGETA, &termio) < 0)
if(ioctl(i, TCGETA, &termio) < 0)
ioctl(2, TCGETA, &termio);
(void) ioctl(fileno(stdin), TCGETA, &ttyb);
(void) ioctl(daemonfd, TCGETA, &tty);
if (ioctl(f, TCGETA, &tty) < 0) {
(void) ioctl(fileno(fi), TCGETA, &ttyb);
(void) ioctl(cur_term -> Filedes, TCGETA, &(PROGTTY));
(void) ioctl(cur_term -> Filedes, TCGETA, &SHELLTTY);
ret_orig = ioctl(dcf, TCGETA, &tty_orig);
if ((*Ioctl)(fn, TCGETA, &ttybuf) != 0) {
if ((*Ioctl)(tty, TCGETA, &ttbuf) != 0)
if ((*Ioctl)(dcf, TCGETA, &ttbuf) != 0)
if ((*Ioctl)(0, TCGETA, &Savettyb) != 0) {
if(ioctl(fd, TCGETA, termio) == -1)
if (ioctl(FILEDES, TCGETA, (char *)&mode) < 0) {
(void) ioctl(FILEDES, TCGETA, (char *)&mode);
case TCGETA:
case TCGETA:
case TCGETA: {
case TCGETA: str = "TCGETA"; break;
case TCGETA:
case TCGETA: