|
|
1.1 ! root 1: #include <stdio.h> ! 2: ! 3: main(argc, argv) ! 4: int argc; ! 5: char **argv; ! 6: { ! 7: int err = 0; ! 8: ! 9: if (argc <= 1) { ! 10: fprintf(stderr, "usage: %s dir ...\n", argv[0]); ! 11: exit(1); ! 12: } ! 13: while (--argc > 0) ! 14: if (rmdir(*++argv) < 0) { ! 15: perror(*argv); ! 16: err = 1; ! 17: } ! 18: exit(err); ! 19: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.