WRITE_CHAN

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

 

NAME

write_chan - write function for tty  

SYNOPSIS

"SYNOPSIS"

ssize_t write_chan (struct tty_struct * tty, struct file * file, const unsigned char * buf, size_t nr);  

ARGUMENTS

tty
tty device
file
file object
buf
userspace buffer pointer
nr
size of I/O
 

DESCRIPTION

Write function of the terminal device. This is serialized with respect to other write callers but not to termios changes, reads and other such events. We must be careful with N_TTY as the receive code will echo characters, thus calling driver write methods.

This code must be sure never to sleep through a hangup.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

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