#include <kernel.h>#include <device.h>#include <tty.h>

Go to the source code of this file.
Functions | |
| devcall | ttyControl (device *pdev, uchar func, uchar arg1, uchar arg2) |
Definition in file ttyControl.c.
Control function for TTY pseudo devices.
| pdev | TTY device table entry | |
| func | control function to execute | |
| arg1 | first argument for the control function | |
| args | second argument for the control function |
Definition at line 21 of file ttyControl.c.
References ASSERT, dentry::controlblk, dentry::getc, tty::icount, tty::iflags, tty::inbuf, tty::istart, NULL, tty::oflags, tty::state, SYSERR, TTY_IFLAG_CBREAK, TTY_IFLAG_EOF, TTY_IOC_CBREAK, TTY_IOC_CLRIFLAG, TTY_IOC_CLROFLAG, TTY_IOC_EOF, TTY_IOC_GETIFLAG, TTY_IOC_GETOFLAG, TTY_IOC_NEXTC, TTY_IOC_SETIFLAG, TTY_IOC_SETOFLAG, tty::tty_phw, and TTY_STATE_ALLOC.
1.5.5