mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-06 21:45:29 +00:00
Add tcsetpgrp()+tcgetpgrp().
One more step on the path to being able to ^C a runaway process. :^)
This commit is contained in:
@@ -176,6 +176,13 @@ const TTY* FileHandle::tty() const
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
TTY* FileHandle::tty()
|
||||
{
|
||||
if (auto* device = m_vnode->characterDevice())
|
||||
return static_cast<TTY*>(device);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
int FileHandle::close()
|
||||
{
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user