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()
2085 struct rlimit rlim; in main() local2137 rlim.rlim_cur = 8192; in main()2138 rlim.rlim_max = 8192; in main()2139 if (setrlimit(RLIMIT_NOFILE, &rlim)) { in main()