N_TTY_FLUSH_BUFFER

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

n_tty_flush_buffer - clean input queue  

SYNOPSIS

"SYNOPSIS"

void n_tty_flush_buffer (struct tty_struct * tty);  

ARGUMENTS

tty
terminal device
 

DESCRIPTION

Flush the input buffer. Called when the line discipline is being closed, when the tty layer wants the buffer flushed (eg at hangup) or when the N_TTY line discipline internally has to clean the pending queue (for example some signals).  

FIXME

tty->ctrl_status is not spinlocked and relies on lock_kernel still.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
FIXME

This document was created by man2html, using the manual pages.
Time: 00:02:31 GMT, October 09, 2005