chiark / gitweb /
Merge old CVS `ian-dotfiles' repo, as a subtree where we can pick bits
[ian-dotfiles.git] / from-cvs / misc / close3onwards.c
1 #include <stdlib.h>
2 int main(int ac, char **av) {
3   int i;
4   for (i=3; i<32; i++) close(i);
5   execvp(av[1],av+1);
6   perror(av[1]);
7 }