Luna/kernel/include/fs/devices/Console.h

15 lines
337 B
C++

#pragma once
#include "fs/VFS.h"
namespace ConsoleDevice
{
VFS::Node* create_new(const char* devname);
ssize_t write(VFS::Node* node, size_t offset, size_t size, const char* buffer);
ssize_t read(VFS::Node* node, size_t offset, size_t size, char* buffer);
int would_block(VFS::Node* node);
void append(char c);
}