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

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

Include dependency graph for ttyWrite.c:

Go to the source code of this file.


devcall ttyWrite (device *pdev, uchar *buf, ushort len)

Detailed Description


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

Definition in file ttyWrite.c.

Function Documentation

devcall ttyWrite ( device pdev,
uchar buf,
ushort  len 

Write a buffer to a tty

pdev TTY device table entry
buf buffer of characters to output
len size of the buffer
count of characters output

Definition at line 20 of file ttyWrite.c.

References ASSERT, dentry::controlblk, NULL, tty::oflags, dentry::putc, tty::state, SYSERR, TTY_OFLAG_RAW, tty::tty_phw, and TTY_STATE_ALLOC.

Referenced by ttyPutChar().

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