got some of the pty actually working in userspace
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
#include "lib/ringbuf.h"
|
||||
|
||||
#include <drivers/pty/pty.h>
|
||||
|
||||
#include <lib/print.h>
|
||||
|
||||
uint32_t pty_master_read(struct vfs_node* node, uint32_t offset, uint32_t size, uint8_t* buffer) {
|
||||
pty_t* pty = (pty_t*)node->data;
|
||||
uint32_t bytes_read = 0;
|
||||
|
||||
Reference in New Issue
Block a user