mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 07:36:50 +00:00
Add ioctl() and reimplement tcsetpgrp/tcsetpgrp as ioctls.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "CharacterDevice.h"
|
||||
#include <LibC/errno_numbers.h>
|
||||
|
||||
CharacterDevice::~CharacterDevice()
|
||||
{
|
||||
@@ -8,3 +9,8 @@ RetainPtr<FileDescriptor> CharacterDevice::open(int options)
|
||||
{
|
||||
return VFS::the().open(*this, options);
|
||||
}
|
||||
|
||||
int CharacterDevice::ioctl(Process&, unsigned, unsigned)
|
||||
{
|
||||
return -ENOTTY;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user