Searched refs:oldrlim (Results 1 – 1 of 1) sorted by relevance
11 struct rlimit oldrlim; in main() local17 if (getrlimit(RLIMIT_NOFILE, &oldrlim) < 0) in main()23 newrlim.rlim_cur = oldrlim.rlim_cur / 2; in main()24 newrlim.rlim_max = oldrlim.rlim_max; in main()38 if (newrlim.rlim_cur != oldrlim.rlim_cur / 2) in main()42 (unsigned long long)oldrlim.rlim_cur / 2); in main()45 if (newrlim.rlim_max != oldrlim.rlim_max) in main()49 (unsigned long long)oldrlim.rlim_max); in main()