chiark
/
gitweb
/
~ian
/
ian-dotfiles.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
9788652375ce469733512651924b30b924f7a878
[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
}