Lines Matching refs:open
132 /* get initial open file limits */
140 /* show initial open file limits */
160 * open more than soft limit file descriptors will fail.
188 /* get current open file limits */
196 /* show current open file limits */
208 * when more than FD_SETSIZE file descriptors are open.
210 * open more than FD_SETSIZE file descriptors then test
217 * try to open plus SAFETY_MARGIN to not exhaust the
240 * open. System conditions that could make the test fail should
273 /* set the number of file descriptors we will try to open */
312 fprintf(stderr, "trying to open %s file descriptors\n", strbuff);
314 /* open a dummy descriptor */
316 fd[0] = open(DEV_NULL, O_RDONLY);
369 fprintf(stderr, "%s file descriptors open\n", strbuff);
424 msnprintf(strbuff, sizeof(strbuff), "fopen fails with %s fds open",
427 msnprintf(strbuff, sizeof(strbuff), "fopen fails with lots of fds open");
467 /* run the test with the bunch of open file descriptors