equal
deleted
inserted
replaced
|
1 /** rlimits.h **/ |
|
2 /** architecture-customized limits for zsh **/ |
|
3 |
|
4 #define ZSH_NLIMITS 15 |
|
5 |
|
6 static char const *recs[ZSH_NLIMITS] = { |
|
7 "cputime", |
|
8 "filesize", |
|
9 "datasize", |
|
10 "stacksize", |
|
11 "coredumpsize", |
|
12 "memoryuse", |
|
13 "maxproc", |
|
14 "descriptors", |
|
15 "memorylocked", |
|
16 "addressspace", |
|
17 "maxfilelocks", |
|
18 "sigpending", |
|
19 "msgqueue", |
|
20 "NICE", |
|
21 "RTPRIO", |
|
22 }; |
|
23 |
|
24 static int limtype[ZSH_NLIMITS] = { |
|
25 ZLIMTYPE_TIME, |
|
26 ZLIMTYPE_MEMORY, |
|
27 ZLIMTYPE_MEMORY, |
|
28 ZLIMTYPE_MEMORY, |
|
29 ZLIMTYPE_MEMORY, |
|
30 ZLIMTYPE_MEMORY, |
|
31 ZLIMTYPE_NUMBER, |
|
32 ZLIMTYPE_NUMBER, |
|
33 ZLIMTYPE_MEMORY, |
|
34 ZLIMTYPE_MEMORY, |
|
35 ZLIMTYPE_NUMBER, |
|
36 ZLIMTYPE_NUMBER, |
|
37 ZLIMTYPE_NUMBER, |
|
38 ZLIMTYPE_UNKNOWN, |
|
39 ZLIMTYPE_UNKNOWN, |
|
40 }; |