1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 06:34:59 +00:00
serenity/Kernel/TTY.cpp
Andreas Kling 68739dc43e Start working on virtual consoles/TTYs.
This is a mess right now, but I'd rather commit as I go.
2018-10-30 13:59:29 +01:00

25 lines
316 B
C++

#include "TTY.h"
TTY::TTY(unsigned major, unsigned minor)
: CharacterDevice(major, minor)
{
}
TTY::~TTY()
{
}
ssize_t TTY::read(byte* buffer, size_t size)
{
return 0;
}
ssize_t TTY::write(const byte* buffer, size_t size)
{
return 0;
}
bool TTY::hasDataAvailableForRead() const
{
return false;
}