Go to the source code of this file.
◆ raise_rlimit_nproc()
Definition at line 18 of file rlimit.c.
19{
20#ifdef RLIMIT_NPROC
25 {
26 return(-1);
27 }
28 if (
nproc.rlim_cur < 512)
29 {
31 }
33 &&
nproc.rlim_cur < 65536)
34 {
36 }
37 else
38 {
40 }
43#else
44 return(-1);
45#endif
46}