NORMAL_POLL

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

 

NAME

normal_poll - poll method for N_TTY  

SYNOPSIS

"SYNOPSIS"

unsigned int normal_poll (struct tty_struct * tty, struct file * file, poll_table * wait);  

ARGUMENTS

tty
terminal device
file
file accessing it
wait
poll table
 

DESCRIPTION

Called when the line discipline is asked to poll for data or for special events. This code is not serialized with respect to other events save open/close.

This code must be sure never to sleep through a hangup. Called without the kernel lock held - fine  

FIXME

if someone changes the VMIN or discipline settings for the terminal while another process is in poll the poll does not recompute the new limits. Possibly set_termios should issue a read wakeup to fix this bug.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
FIXME

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