static int pty_write_room(struct tty_struct *tty) { if (tty->stopped || tty->peer_stops) { return 0; } return pty_space(tty->link); }
static int pty_write_room(struct tty_struct *tty) { if (tty->stopped) return 0; return pty_space(tty->link); }