1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:27:35 +00:00

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
parent 426c4e387d
commit 2dc051c866
5 changed files with 0 additions and 15 deletions

View file

@ -417,12 +417,6 @@ int isatty(int fd)
return tcgetattr(fd, &dummy) == 0;
}
int getdtablesize()
{
int rc = syscall(SC_getdtablesize);
__RETURN_WITH_ERRNO(rc, rc, -1);
}
int dup(int old_fd)
{
int rc = syscall(SC_dup, old_fd);