File indexing completed on 2018-03-02 18:36:13 UTC
view on githubraw file Latest commit add29e06 on 2018-01-31 20:35:05 UTC
df91541502 Ed H*0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #include "FC_NAMEMANGLE.h"
0016
0017
bc76c8dd5b Ed H*0018 #ifdef HAVE_SETRLSTK
df91541502 Ed H*0019 #include <sys/time.h>
0020 #include <sys/resource.h>
0021 #include <unistd.h>
bc76c8dd5b Ed H*0022 #endif
df91541502 Ed H*0023
0024
0025 void FC_NAMEMANGLE(setrlstk) ()
0026 {
bc76c8dd5b Ed H*0027 #ifdef HAVE_SETRLSTK
df91541502 Ed H*0028 struct rlimit rls;
0029
0030 rls.rlim_cur = RLIM_INFINITY;
0031 rls.rlim_max = RLIM_INFINITY;
0032 setrlimit(RLIMIT_STACK, &rls);
0033
bc76c8dd5b Ed H*0034 #endif
df91541502 Ed H*0035 return;
0036 }
0037
0038