ladybird/Kernel/CharacterDevice.cpp

17 lines
313 B
C++
Raw Normal View History

#include "CharacterDevice.h"
#include <LibC/errno_numbers.h>
CharacterDevice::~CharacterDevice()
{
}
RetainPtr<FileDescriptor> CharacterDevice::open(int& error, int options)
{
return VFS::the().open(*this, error, options);
}
int CharacterDevice::ioctl(Process&, unsigned, unsigned)
{
return -ENOTTY;
}