Lines Matching refs:ulimit
4 ulimit -- handle "ulimit" builtin
6 Reworked to use getrusage() and ulimit() at once (as needed on
34 # include <ulimit.h>
37 extern long ulimit();
56 enum { RLIMIT, ULIMIT } which;
70 { "file(blocks)", ULIMIT, UL_GETFSIZE, UL_SETFSIZE, 1, 'f' },
73 { "file(blocks)", ULIMIT, UL_GFILLIM, UL_SFILLIM, 1, 'f' },
75 { "file(blocks)", ULIMIT, 1, 2, 1, 'f' },
98 { "nofiles(descriptors)", ULIMIT, UL_GDESLIM, -1, 1, 'n' },
112 { "vmemory(maxaddr)", ULIMIT, UL_GMEMLIM, -1, 1, 'v' },
115 { "vmemory(maxaddr)", ULIMIT, UL_GETBREAK, -1, 1, 'v' },
168 internal_errorf(0, "ulimit: %c", what);
217 val = ulimit(l->gcmd, (rlim_t) 0);
268 } else if (ulimit(l->scmd, val) < 0) {
273 val = ulimit(l->gcmd, (rlim_t) 0);