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

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

Include dependency graph for ttyClose.c:

Go to the source code of this file.

Functions

devcall ttyClose (device *pdev)


Detailed Description

ttyClose

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

Definition in file ttyClose.c.


Function Documentation

devcall ttyClose ( device pdev  ) 

Close a TTY device.

Parameters:
pdev TTY device table entry
Returns:
OK if TTY is closed properly, otherwise SYSERR

Definition at line 19 of file ttyClose.c.

References ASSERT, bzero(), dentry::controlblk, NULL, OK, tty::state, and TTY_STATE_FREE.


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