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:
parent
19104570cc
commit
754037874c
49 changed files with 35 additions and 37 deletions
16
Kernel/CharacterDevice.cpp
Normal file
16
Kernel/CharacterDevice.cpp
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue