Searched refs:rlim (Results 1 – 2 of 2) sorted by relevance
34 struct rlimit rlim; in main() local75 rlim.rlim_cur = nfiles + 10; in main()76 rlim.rlim_max = nfiles + 10; in main()77 if (setrlimit(RLIMIT_NOFILE, &rlim)) { in main()78 fprintf(stderr, "Unable to raise RLIMIT_NOFILE to %ld\n", rlim.rlim_cur); in main()
2068 struct rlimit rlim; in main() local2120 rlim.rlim_cur = 8192; in main()2121 rlim.rlim_max = 8192; in main()2122 if (setrlimit(RLIMIT_NOFILE, &rlim)) { in main()