kernel: add definitions for a TTY device interface.
This commit is contained in:
13
kernel/tty.c
Normal file
13
kernel/tty.c
Normal file
@@ -0,0 +1,13 @@
|
||||
#include <socks/tty.h>
|
||||
#include <socks/locks.h>
|
||||
#include <socks/queue.h>
|
||||
|
||||
int tty_read(tty_t *tty, char *s, unsigned long len)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int tty_write(tty_t *tty, const char *s, unsigned long len)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user