mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-14 22:31:29 +03:00
994279d56c
..to prepare for adding a BlockDevice class.
21 lines
303 B
C++
21 lines
303 B
C++
#include "CharacterDevice.h"
|
|
#include <LibC/errno_numbers.h>
|
|
|
|
Device::~Device()
|
|
{
|
|
}
|
|
|
|
RetainPtr<FileDescriptor> Device::open(int& error, int options)
|
|
{
|
|
return VFS::the().open(*this, error, options);
|
|
}
|
|
|
|
void Device::close()
|
|
{
|
|
}
|
|
|
|
int Device::ioctl(Process&, unsigned, unsigned)
|
|
{
|
|
return -ENOTTY;
|
|
}
|