Lines Matching refs:strbuff
128 char strbuff[256]; in test_rlimit() local
142 rlim2str(strbuff, sizeof(strbuff), rl.rlim_cur); in test_rlimit()
143 fprintf(stderr, "initial soft limit: %s\n", strbuff); in test_rlimit()
145 rlim2str(strbuff, sizeof(strbuff), rl.rlim_max); in test_rlimit()
146 fprintf(stderr, "initial hard limit: %s\n", strbuff); in test_rlimit()
198 rlim2str(strbuff, sizeof(strbuff), rl.rlim_cur); in test_rlimit()
199 fprintf(stderr, "current soft limit: %s\n", strbuff); in test_rlimit()
201 rlim2str(strbuff, sizeof(strbuff), rl.rlim_max); in test_rlimit()
202 fprintf(stderr, "current hard limit: %s\n", strbuff); in test_rlimit()
230 msnprintf(strbuff, sizeof(strbuff), "fds needed %s > system limit %s", in test_rlimit()
232 store_errmsg(strbuff, 0); in test_rlimit()
252 rlim2str(strbuff, sizeof(strbuff), num_open.rlim_max); in test_rlimit()
253 fprintf(stderr, "allocating memchunk %s byte array\n", strbuff); in test_rlimit()
281 msnprintf(strbuff, sizeof(strbuff), "unable to allocate an array for %s " in test_rlimit()
283 store_errmsg(strbuff, 0); in test_rlimit()
291 rlim2str(strbuff, sizeof(strbuff), num_open.rlim_max); in test_rlimit()
292 fprintf(stderr, "allocating array for %s file descriptors\n", strbuff); in test_rlimit()
311 rlim2str(strbuff, sizeof(strbuff), num_open.rlim_max); in test_rlimit()
312 fprintf(stderr, "trying to open %s file descriptors\n", strbuff); in test_rlimit()
318 msnprintf(strbuff, sizeof(strbuff), "opening of %s failed", DEV_NULL); in test_rlimit()
319 store_errmsg(strbuff, errno); in test_rlimit()
340 msnprintf(strbuff, sizeof(strbuff), "dup() attempt %s failed", strbuff1); in test_rlimit()
341 fprintf(stderr, "%s\n", strbuff); in test_rlimit()
344 msnprintf(strbuff, sizeof(strbuff), "fds system limit seems close to %s", in test_rlimit()
346 fprintf(stderr, "%s\n", strbuff); in test_rlimit()
352 msnprintf(strbuff, sizeof(strbuff), "fds needed %s > system limit %s", in test_rlimit()
354 store_errmsg(strbuff, 0); in test_rlimit()
368 rlim2str(strbuff, sizeof(strbuff), num_open.rlim_max); in test_rlimit()
369 fprintf(stderr, "%s file descriptors open\n", strbuff); in test_rlimit()
386 msnprintf(strbuff, sizeof(strbuff), "select limit is FD_SETSIZE %d", in test_rlimit()
388 store_errmsg(strbuff, 0); in test_rlimit()
401 msnprintf(strbuff, sizeof(strbuff), "select limit is FD_SETSIZE %d", in test_rlimit()
403 store_errmsg(strbuff, 0); in test_rlimit()
424 msnprintf(strbuff, sizeof(strbuff), "fopen fails with %s fds open", in test_rlimit()
427 msnprintf(strbuff, sizeof(strbuff), "fopen fails with lots of fds open"); in test_rlimit()
428 store_errmsg(strbuff, 0); in test_rlimit()