#include <kernel.h>
#include <device.h>
#include <tty.h>
#include <vararg.h>
Go to the source code of this file.
Functions | |
devcall | ttyOpen (device *pdev, va_list ap) |
Definition in file ttyOpen.c.
Associate a TTY with a hardware device.
pdev | TTY device table entry | |
ap | 2nd argument is the device number for the hardware device |
Definition at line 20 of file ttyOpen.c.
References ASSERT, dentry::controlblk, devtab, tty::icount, tty::iflags, isbaddev, tty::istart, NULL, tty::oflags, OK, tty::tty_dev, tty::tty_phw, ttyAlloc(), and va_arg.