#include <kernel.h>
#include <device.h>
#include <tty.h>
#include <stdlib.h>
Go to the source code of this file.
Functions | |
devcall | ttyClose (device *pdev) |
Definition in file ttyClose.c.
devcall ttyClose | ( | device * | pdev | ) |
Close a TTY device.
pdev | TTY device table entry |
Definition at line 19 of file ttyClose.c.
References ASSERT, bzero(), dentry::controlblk, NULL, OK, tty::state, and TTY_STATE_FREE.