LibC: Add LINK_MAX and _PC_LINK_MAX

LINK_MAX was set arbitrarily to 4096, this is not an actual system
limit.
This commit is contained in:
Peter Elliott 2021-07-23 00:34:22 -06:00 committed by Andreas Kling
commit f16aba405f
Notes: sideshowbarker 2024-07-18 05:24:37 +09:00
3 changed files with 9 additions and 2 deletions

View file

@ -121,7 +121,8 @@ enum {
_PC_NAME_MAX,
_PC_PATH_MAX,
_PC_PIPE_BUF,
_PC_VDISABLE
_PC_VDISABLE,
_PC_LINK_MAX
};
#define _POSIX_MONOTONIC_CLOCK 200112L