mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:08:12 +00:00
Kernel+LibC: Add the _SC_GETPW_R_SIZE_MAX sysconf enum
It just returns 4096 :P
This commit is contained in:
parent
71054c4c06
commit
4519950266
3 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue