3 #if (defined (RLIMIT_AS))
4 const C_Int_t MLton_Rlimit_AS
= RLIMIT_AS
;
5 #elif (defined (RLIMIT_DATA))
6 const C_Int_t MLton_Rlimit_AS
= RLIMIT_DATA
;
8 #error MLton_Rlimit_AS not defined
10 const C_Int_t MLton_Rlimit_CORE
= RLIMIT_CORE
;
11 const C_Int_t MLton_Rlimit_CPU
= RLIMIT_CPU
;
12 const C_Int_t MLton_Rlimit_DATA
= RLIMIT_DATA
;
13 const C_Int_t MLton_Rlimit_FSIZE
= RLIMIT_FSIZE
;
15 #if (defined (RLIMIT_MEMLOCK))
16 const C_Int_t MLton_Rlimit_MEMLOCK
= RLIMIT_MEMLOCK
;
18 const C_Int_t MLton_Rlimit_MEMLOCK
= -1;
21 const C_Int_t MLton_Rlimit_NOFILE
= RLIMIT_NOFILE
;
23 #if (defined (RLIMIT_NPROC))
24 const C_Int_t MLton_Rlimit_NPROC
= RLIMIT_NPROC
;
26 const C_Int_t MLton_Rlimit_NPROC
= -1;
28 #if (defined (RLIMIT_RSS))
29 const C_Int_t MLton_Rlimit_RSS
= RLIMIT_RSS
;
31 const C_Int_t MLton_Rlimit_RSS
= -1;
34 const C_Int_t MLton_Rlimit_STACK
= RLIMIT_STACK
;
35 const C_RLim_t MLton_Rlimit_INFINITY
= RLIM_INFINITY
;