From 0ad8e62f74d3ed82c7afa9f927e5b4b723ec394e Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Tue, 19 Oct 1999 06:17:44 +0000 Subject: zsh-workers/8330 --- Src/Builtins/rlimits.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'Src/Builtins') diff --git a/Src/Builtins/rlimits.c b/Src/Builtins/rlimits.c index 3f0ad7ed5..115f7d5b5 100644 --- a/Src/Builtins/rlimits.c +++ b/Src/Builtins/rlimits.c @@ -232,6 +232,20 @@ printulimit(int lim, int hard, int head) limit /= 1024; break; # endif /* RLIMIT_AIO_MEM */ +# ifdef RLIMIT_SBSIZE + case RLIMIT_SBSIZE: + if (head) + printf("socket buffer size (kb) "); + if (limit != RLIM_INFINITY) + limit /= 1024; + break; +# endif /* RLIMIT_SBSIZE */ +# ifdef RLIMIT_PTHREAD + case RLIMIT_PTHREAD: + if (head) + printf("threads per process "); + break; +# endif /* RLIMIT_PTHREAD */ } /* display the limit */ if (limit == RLIM_INFINITY) -- cgit 1.4.1