.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "TTY_LDISC_REF" "9" "09 October 2005" "" "" .SH NAME tty_ldisc_ref \- get the tty ldisc .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp struct tty_ldisc * tty_ldisc_ref (struct tty_struct * \fItty\fB); \fR .SH "ARGUMENTS" .TP \fB\fItty\fB\fR tty device .SH "DESCRIPTION" .PP Dereference the line discipline for the terminal and take a reference to it. If the line discipline is in flux then return NULL. Can be called from IRQ and timer functions.