Home | History | Annotate | Download | only in pounder21

Lines Matching refs:max_failures

65 	int max_failures = 0;
70 ("Usage: %s [-m max_failures] time_in_sec uid gid signal command [args]\n",
74 //by default, set max_failures to whatever the env variable $MAX_FAILURES is
75 char *max_failures_env = getenv("MAX_FAILURES");
76 max_failures = atoi(max_failures_env);
78 //if the -m option is used when calling fancy_timed_loop, override max_failures
79 //specified by $MAX_FAILURES with the given argument instead
81 if ((max_failures = atoi(argv[2])) >= 0) {
85 ("Usage: %s [-m max_failures] time_in_sec uid gid signal command [args]\n",
88 ("max_failures should be a nonnegative integer\n");
210 if (max_failures > 0) {
211 if (++fail_counter > max_failures) {