mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +08:00
set the other three terminal state pieces for systems that HAVE_SGTTY
This commit is contained in:
@ -150,6 +150,12 @@ set_tty_state(scb, state)
|
||||
#ifdef HAVE_SGTTY
|
||||
if (ioctl (scb->fd, TIOCSETN, &state->sgttyb) < 0)
|
||||
return -1;
|
||||
if (ioctl (scb->fd, TIOCSETC, &state->tc) < 0)
|
||||
return -1;
|
||||
if (ioctl (scb->fd, TIOCSLTC, &state->ltc) < 0)
|
||||
return -1;
|
||||
if (ioctl (scb->fd, TIOCLSET, &state->lmode) < 0)
|
||||
return -1;
|
||||
|
||||
return 0;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user