10 int main(
int argc,
char *argv[])
12 long prognum = 0x40000000, m = 10, i, d, v;
14 if (argc > 1 && argv[1] != NULL) {
15 prognum = atol(argv[1]);
17 if (argc > 2 && argv[2] != NULL) {
20 printf(
"%s %ld %ld\n", argv[0], prognum, m);
21 for (d = 0, i = prognum; i < prognum + m; i++) {
22 for (v = 1; v < 4; v++) {
24 printf(
"pmap_unset(%ld, %ld) == %d\n", i, v, x);
28 printf(
"%s: deregistered %ld port+version pairs.\n", argv[0], d);
int pmap_unset(unsigned long, unsigned long)
int main(int argc, char *argv[])