mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +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
Notes:
sideshowbarker
2024-07-18 22:15:05 +09:00
Author: https://github.com/alimpfard
Commit: 4519950266
Pull-request: https://github.com/SerenityOS/serenity/pull/5325
Issue: https://github.com/SerenityOS/serenity/issues/90
Reviewed-by: https://github.com/BenWiederhake
Reviewed-by: https://github.com/linusg
Reviewed-by: https://github.com/sunverwerth
3 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue