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()
1899 struct rlimit rlim; in main() local1951 rlim.rlim_cur = 8192; in main()1952 rlim.rlim_max = 8192; in main()1953 if (setrlimit(RLIMIT_NOFILE, &rlim)) { in main()