patch-2.4.4 linux/include/linux/tty_ldisc.h
Next file: linux/include/linux/usb.h
Previous file: linux/include/linux/tpqic02.h
Back to the patch index
Back to the overall index
- Lines: 72
- Date:
Fri Apr 27 15:48:30 2001
- Orig file:
v2.4.3/linux/include/linux/tty_ldisc.h
- Orig date:
Mon Mar 26 15:48:11 2001
diff -u --recursive --new-file v2.4.3/linux/include/linux/tty_ldisc.h linux/include/linux/tty_ldisc.h
@@ -2,22 +2,22 @@
#define _LINUX_TTY_LDISC_H
/*
- * This structure defines the interface between the tty line discpline
+ * This structure defines the interface between the tty line discipline
* implementation and the tty routines. The following routines can be
* defined; unless noted otherwise, they are optional, and can be
* filled in with a null pointer.
*
* int (*open)(struct tty_struct *);
*
- * This function is called when the line discpline is associated
- * with the tty. The line discpline can use this as an
+ * This function is called when the line discipline is associated
+ * with the tty. The line discipline can use this as an
* opportunity to initialize any state needed by the ldisc routines.
*
* void (*close)(struct tty_struct *);
*
- * This function is called when the line discpline is being
+ * This function is called when the line discipline is being
* shutdown, either because the tty is being closed or because
- * the tty is being changed to use a new line discpline
+ * the tty is being changed to use a new line discipline
*
* void (*flush_buffer)(struct tty_struct *tty);
*
@@ -28,14 +28,14 @@
* ssize_t (*chars_in_buffer)(struct tty_struct *tty);
*
* This function returns the number of input characters the line
- * iscpline may have queued up to be delivered to the user mode
+ * discipline may have queued up to be delivered to the user mode
* process.
*
* ssize_t (*read)(struct tty_struct * tty, struct file * file,
* unsigned char * buf, size_t nr);
*
* This function is called when the user requests to read from
- * the tty. The line discpline will return whatever characters
+ * the tty. The line discipline will return whatever characters
* it has buffered up for the user. If this function is not
* defined, the user will receive an EIO error.
*
@@ -43,7 +43,7 @@
* const unsigned char * buf, size_t nr);
*
* This function is called when the user requests to write to the
- * tty. The line discpline will deliver the characters to the
+ * tty. The line discipline will deliver the characters to the
* low-level tty device for transmission, optionally performing
* some processing on the characters first. If this function is
* not defined, the user will receive an EIO error.
@@ -54,7 +54,7 @@
* This function is called when the user requests an ioctl which
* is not handled by the tty layer or the low-level tty driver.
* It is intended for ioctls which affect line discpline
- * operation. Not that the search order for ioctls is (1) tty
+ * operation. Note that the search order for ioctls is (1) tty
* layer, (2) tty low-level driver, (3) line discpline. So a
* low-level driver can "grab" an ioctl request before the line
* discpline has a chance to see it.
@@ -62,7 +62,7 @@
* void (*set_termios)(struct tty_struct *tty, struct termios * old);
*
* This function notifies the line discpline that a change has
- * been made to the termios stucture.
+ * been made to the termios structure.
*
* int (*poll)(struct tty_struct * tty, struct file * file,
* poll_table *wait);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)