Lines Matching refs:PR_Select
43 ** Description: tests PR_Select with sockets Error condition functions.
161 printf("This program tests PR_Select with sockets. Timeout, error\n");
226 if (debug_mode) printf("PR_Select should time out in 5 seconds\n");
227 retVal = PR_Select(0 /* unused */, &readFdSet, NULL, NULL,
231 "PR_Select should time out and return 0, but it returns %ld\n",
241 if (debug_mode) printf("PR_Select timed out. Test passed.\n\n");
245 printf("PR_Select should detect a bad file descriptor\n");
255 retVal = PR_Select(0 /* unused */, &readFdSet, NULL, NULL,
259 "PR_Select returns %d\n", retVal);
266 printf("PR_Select detected a bad fd. Test passed.\n\n");
309 retVal = PR_Select(0 /* unused */, &readFdSet, NULL, NULL,
313 fprintf(stderr, "PR_Select failed (%d, %d)\n", PR_GetError(),