Desktop/xinu_mips-1.0.2.tar/xinu_mips-1.0.2/tty/ttyControl.c File Reference

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

Include dependency graph for ttyControl.c:

Go to the source code of this file.


devcall ttyControl (device *pdev, uchar func, uchar arg1, uchar arg2)

Detailed Description


ttyControl.c 241 2007-07-13 22:24:20Z agember

Definition in file ttyControl.c.

Function Documentation

devcall ttyControl ( device pdev,
uchar  func,
uchar  arg1,
uchar  arg2 

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
the result of 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.

Generated on Thu Oct 9 22:35:22 2008 for xinu by  doxygen 1.5.5