
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.
10 lines
190 B
C++
10 lines
190 B
C++
#include "CharacterDevice.h"
|
|
|
|
CharacterDevice::~CharacterDevice()
|
|
{
|
|
}
|
|
|
|
RetainPtr<FileHandle> CharacterDevice::open(int options)
|
|
{
|
|
return VirtualFileSystem::the().open(*this, options);
|
|
}
|