1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:38:11 +00:00

Kernel: Implement sysconf(_SC_SYMLOOP_MAX)

Not much to say here, this is an implementation of this call that
accesses the actual limit constant that's used by the VirtualFileSystem
class.

As a side note, this is required for my eventual Qt port.
This commit is contained in:
Martin Bříza 2021-12-21 16:15:24 +01:00 committed by Brian Gianforcaro
parent f75bab2a25
commit 86b249f02f
2 changed files with 5 additions and 0 deletions

View file

@ -38,6 +38,7 @@ enum {
_SC_PAGESIZE,
_SC_GETPW_R_SIZE_MAX,
_SC_CLK_TCK,
_SC_SYMLOOP_MAX,
};
#define _SC_MONOTONIC_CLOCK _SC_MONOTONIC_CLOCK
@ -49,6 +50,7 @@ enum {
#define _SC_TTY_NAME_MAX _SC_TTY_NAME_MAX
#define _SC_GETPW_R_SIZE_MAX _SC_GETPW_R_SIZE_MAX
#define _SC_CLK_TCK _SC_CLK_TCK
#define _SC_SYMLOOP_MAX _SC_SYMLOOP_MAX
#ifdef __cplusplus
}