.\" 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_SET_LDISC" "9" "09 October 2005" "" "" .SH NAME tty_set_ldisc \- set line discipline .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int tty_set_ldisc (struct tty_struct * \fItty\fB, int \fIldisc\fB); \fR .SH "ARGUMENTS" .TP \fB\fItty\fB\fR the terminal to set .TP \fB\fIldisc\fB\fR the line discipline .SH "DESCRIPTION" .PP Set the discipline of a tty line. Must be called from a process context.