diff options
author | Luke <luke.wilde@live.co.uk> | 2020-09-09 08:35:02 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-09-27 01:02:11 +0200 |
commit | 721788943d9385b16521c91ab3121dbd8f7b4ff3 (patch) | |
tree | 02f0057aea95ce568a5d405c90221e5499bd479d /Libraries/LibC | |
parent | db31452bc2ac1e64c682f85ae7aeae2f49b596ec (diff) | |
download | serenity-721788943d9385b16521c91ab3121dbd8f7b4ff3.zip |
Kernel: Implement _SC_OPEN_MAX
Diffstat (limited to 'Libraries/LibC')
-rw-r--r-- | Libraries/LibC/unistd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Libraries/LibC/unistd.h b/Libraries/LibC/unistd.h index 0faa5f4397..8d1e2bd6a0 100644 --- a/Libraries/LibC/unistd.h +++ b/Libraries/LibC/unistd.h @@ -174,11 +174,13 @@ enum { _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PAGESIZE, + _SC_OPEN_MAX, }; #define _SC_NPROCESSORS_CONF _SC_NPROCESSORS_CONF #define _SC_NPROCESSORS_ONLN _SC_NPROCESSORS_ONLN #define _SC_PAGESIZE _SC_PAGESIZE +#define _SC_OPEN_MAX _SC_OPEN_MAX long sysconf(int name); |