Home | History | Annotate | Download | only in tools

Lines Matching defs:timeout

17  * This utility software allows to run any executable file with a timeout limit.
20 * where n is the timeout duration in seconds,
32 * as if it has been timedout. This is usefull to check a timeout return code value.
65 int status, timeout;
79 printf(" n is the timeout duration in seconds,\n");
84 (" The second use case will emulate an immediate timeout.\n\n");
88 timeout = atoi(argv[1]);
89 if (timeout < 1) {
91 "Invalid timeout value \"%s\". Timeout must be a positive integer.\n",
101 alarm(timeout);