kernel: add definitions for a TTY device interface.

This commit is contained in:
2023-02-09 09:17:04 +00:00
parent 943e9dc517
commit 5b9bdd4848
3 changed files with 116 additions and 0 deletions

13
kernel/tty.c Normal file
View 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;
}