mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-11 09:27:00 +02:00
More work towards getting bash to build.
Implemented some syscalls: dup(), dup2(), getdtablesize(). FileHandle is now a retainable, since that's needed for dup()'ed fd's. I didn't really test any of this beyond a basic smoke check.
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 18:33:20 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/9f2b9c82bf0
@@ -4,7 +4,7 @@ CharacterDevice::~CharacterDevice()
|
||||
{
|
||||
}
|
||||
|
||||
OwnPtr<FileHandle> CharacterDevice::open(int options)
|
||||
RetainPtr<FileHandle> CharacterDevice::open(int options)
|
||||
{
|
||||
return VirtualFileSystem::the().open(*this, options);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user