/* (C)opyleft Jedi/Sector One */ #include #include #include #include int main(const int a, char * const *b) { if (a < 3) { puts("Usage: alarmer [args] [...]"); return 1; } b++; (void) alarm((unsigned int) strtoul(*b, NULL, 10)); b++; (void) execvp(*b, b); perror("Unable to spawn the command"); return 2; }