Kernel+LibC: Add the _SC_GETPW_R_SIZE_MAX sysconf enum

It just returns 4096 :P
This commit is contained in:
AnotherTest 2021-02-12 05:41:50 +03:30 committed by Andreas Kling
commit 4519950266
Notes: sideshowbarker 2024-07-18 22:15:05 +09:00
3 changed files with 5 additions and 0 deletions

View file

@ -42,6 +42,8 @@ long Process::sys$sysconf(int name)
return PAGE_SIZE;
case _SC_TTY_NAME_MAX:
return TTY_NAME_MAX;
case _SC_GETPW_R_SIZE_MAX:
return 4096; // idk
default:
return -EINVAL;
}