Search notes:

drivers/tty/tty_io.c

Session management: Direct the keyboard input to the correct application.
This source gives an »orthogonal feeling« to tty's regardless if they are consoles or rs-channels.
Echoing and cooked mode is also implemented.

tty_read()

The read method for tty device files: it perofrms the read system call function on the associated terminal device.

tty_write()

Write dagta to a tty via the line discipline.

Links

The TTY demystified

Index