ladybird/VirtualFileSystem/CharacterDevice.cpp
Andreas Kling 9f2b9c82bf More work towards getting bash to build.
Implemented some syscalls: dup(), dup2(), getdtablesize().
FileHandle is now a retainable, since that's needed for dup()'ed fd's.
I didn't really test any of this beyond a basic smoke check.
2018-11-05 19:01:59 +01:00

10 lines
190 B
C++

#include "CharacterDevice.h"
CharacterDevice::~CharacterDevice()
{
}
RetainPtr<FileHandle> CharacterDevice::open(int options)
{
return VirtualFileSystem::the().open(*this, options);
}