serenity/VirtualFileSystem/CharacterDevice.cpp

16 lines
294 B
C++

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