Kernel: Remove sys$getdtablesize()

I'm not sure why this was a syscall. If we need this we can add it in
LibC as a wrapper around sysconf(_SC_OPEN_MAX).
This commit is contained in:
Andreas Kling 2020-05-16 11:23:11 +02:00
commit 2dc051c866
Notes: sideshowbarker 2024-07-19 06:36:57 +09:00
5 changed files with 0 additions and 15 deletions

View file

@ -2653,12 +2653,6 @@ int Process::sys$ioctl(int fd, unsigned request, unsigned arg)
return description->file().ioctl(*description, request, arg);
}
int Process::sys$getdtablesize()
{
REQUIRE_PROMISE(stdio);
return m_max_open_file_descriptors;
}
int Process::sys$dup(int old_fd)
{
REQUIRE_PROMISE(stdio);