summaryrefslogtreecommitdiff
path: root/Src/Builtins
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Builtins')
-rw-r--r--Src/Builtins/rlimits.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/Src/Builtins/rlimits.c b/Src/Builtins/rlimits.c
index 5f9c84b0f..65226dc9a 100644
--- a/Src/Builtins/rlimits.c
+++ b/Src/Builtins/rlimits.c
@@ -145,6 +145,10 @@ static const resinfo_T known_resources[] = {
{RLIMIT_UMTXP, "umtxp", ZLIMTYPE_NUMBER, 1,
'o', "umtx shared locks"},
# endif
+# ifdef HAVE_RLIMIT_PIPEBUF /* FreeBSD */
+ {RLIMIT_PIPEBUF, "pipebuf", ZLIMTYPE_MEMORY, 1024,
+ 'y', "size of buffers for pipes/fifos"},
+#endif
# ifdef HAVE_RLIMIT_POSIXLOCKS /* DragonFly */
{RLIMIT_POSIXLOCKS, "posixlocks", ZLIMTYPE_NUMBER, 1,
@@ -171,6 +175,10 @@ static const resinfo_T known_resources[] = {
{RLIMIT_TCACHE, "cachedthreads", ZLIMTYPE_NUMBER, 1,
'N', "cached threads"},
# endif
+# ifdef HAVE_RLIMIT_NOVMON /* Haiku */
+ {RLIMIT_NOVMON, "vnodemonitors", ZLIMTYPE_NUMBER, 1,
+ 'N', "open vnode monitors"},
+# endif
};
/* resinfo[RLIMIT_XXX] points to the corresponding entry