/* Return true if the tty has been subject to a vhangup or a carrier loss  */
int tty_hung_up_p(struct file *filp)
/* Return true if the tty has been subject to a vhangup or a carrier loss  */
int tty_hung_up_p(struct file *filp)
{
	return (filp->f_op == &hung_up_tty_fops);
}