mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-08 16:12:23 +02:00
17 lines
313 B
C++
17 lines
313 B
C++
#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;
|
|
}
|