1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:38:10 +00:00

Move VFS sources into Kernel/.

This commit is contained in:
Andreas Kling 2019-01-23 05:13:17 +01:00
parent 19104570cc
commit 754037874c
49 changed files with 35 additions and 37 deletions

View file

@ -0,0 +1,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;
}