mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 00:25:07 +00:00
Add ioctl() and reimplement tcsetpgrp/tcsetpgrp as ioctls.
This commit is contained in:
parent
2529925fe9
commit
c99f8af66d
16 changed files with 94 additions and 45 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue