summaryrefslogtreecommitdiff
path: root/VirtualFileSystem/CharacterDevice.cpp
blob: b76e6caba42f20048d226626827150cd1469a78f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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;
}