about summary refs log tree commit diff
path: root/Src/Builtins
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-10-19 06:17:44 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-10-19 06:17:44 +0000
commit0ad8e62f74d3ed82c7afa9f927e5b4b723ec394e (patch)
tree50f04e78a10257d8f929a143823e9ccfe0712c1b /Src/Builtins
parentb41f85ad863d545b42faff01d0a2c154ce2a1434 (diff)
downloadzsh-0ad8e62f74d3ed82c7afa9f927e5b4b723ec394e.tar.gz
zsh-0ad8e62f74d3ed82c7afa9f927e5b4b723ec394e.tar.xz
zsh-0ad8e62f74d3ed82c7afa9f927e5b4b723ec394e.zip
zsh-workers/8330
Diffstat (limited to 'Src/Builtins')
-rw-r--r--Src/Builtins/rlimits.c14
1 files changed, 14 insertions, 0 deletions
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)