ladybird/VirtualFileSystem/CharacterDevice.cpp

17 lines
294 B
C++
Raw Normal View History

#include "CharacterDevice.h"
#include <LibC/errno_numbers.h>
CharacterDevice::~CharacterDevice()
{
}
2018-11-07 11:37:54 +01:00
RetainPtr<FileDescriptor> CharacterDevice::open(int options)
{
return VFS::the().open(*this, options);
}
int CharacterDevice::ioctl(Process&, unsigned, unsigned)
{
return -ENOTTY;
}