2018-10-14 02:59:22 +02:00
|
|
|
#include "CharacterDevice.h"
|
2018-11-16 13:11:21 +01:00
|
|
|
#include <LibC/errno_numbers.h>
|
2018-10-14 02:59:22 +02:00
|
|
|
|
|
|
|
|
CharacterDevice::~CharacterDevice()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2019-01-16 13:36:10 +01:00
|
|
|
RetainPtr<FileDescriptor> CharacterDevice::open(int& error, int options)
|
2018-10-30 13:59:29 +01:00
|
|
|
{
|
2019-01-16 13:36:10 +01:00
|
|
|
return VFS::the().open(*this, error, options);
|
2018-10-30 13:59:29 +01:00
|
|
|
}
|
2018-11-16 13:11:21 +01:00
|
|
|
|
2019-01-30 18:26:19 +01:00
|
|
|
void CharacterDevice::close()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2018-11-16 13:11:21 +01:00
|
|
|
int CharacterDevice::ioctl(Process&, unsigned, unsigned)
|
|
|
|
|
{
|
|
|
|
|
return -ENOTTY;
|
|
|
|
|
}
|