1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 08:28:11 +00:00

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
parent 71054c4c06
commit 4519950266
3 changed files with 5 additions and 0 deletions

View file

@ -176,6 +176,7 @@ enum {
_SC_OPEN_MAX,
_SC_TTY_NAME_MAX,
_SC_PAGESIZE,
_SC_GETPW_R_SIZE_MAX,
};
#define _SC_NPROCESSORS_CONF _SC_NPROCESSORS_CONF
@ -183,6 +184,7 @@ enum {
#define _SC_OPEN_MAX _SC_OPEN_MAX
#define _SC_PAGESIZE _SC_PAGESIZE
#define _SC_TTY_NAME_MAX _SC_TTY_NAME_MAX
#define _SC_GETPW_R_SIZE_MAX _SC_GETPW_R_SIZE_MAX
long sysconf(int name);