6 int main(int argc, unsigned char **argv)
14 while((c = getopt(argc, argv, "se")) > 0)
30 fprintf(stderr, "Wrong number of arguments\n");
33 if((fd = open(argv[optind], O_RDWR | O_CREAT, 0600)) < 0)
40 if((pid = fork()) < 0)
45 execvp(argv[optind], argv + optind);
49 while(wait(&status) != pid);