mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:27:45 +00:00
Kernel: Add _SC_HOST_NAME_MAX
This commit is contained in:
parent
6f2a016565
commit
f646d49ac1
2 changed files with 4 additions and 0 deletions
|
@ -22,6 +22,8 @@ KResultOr<FlatPtr> Process::sys$sysconf(int name)
|
|||
return fds().max_open();
|
||||
case _SC_PAGESIZE:
|
||||
return PAGE_SIZE;
|
||||
case _SC_HOST_NAME_MAX:
|
||||
return HOST_NAME_MAX;
|
||||
case _SC_TTY_NAME_MAX:
|
||||
return TTY_NAME_MAX;
|
||||
case _SC_GETPW_R_SIZE_MAX:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue