/* run a command with a limited timeout tridge@samba.org, June 2005 metze@samba.org, March 2006 attempt to be as portable as possible (fighting posix all the way) */ #include #include #include #include #include #include #include #include static pid_t child_pid; static void usage(void) { printf("usage: timelimit