vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| - while ((ch = getopt(argc, argv, "")) != -1) - switch(ch) { - case '?': - default: - (void)fprintf(stderr, "usage: users\n"); - exit(1); - } - argc -= optind; - argv += optind; No. In a POSIX world, all programs should use getopt() and thus -options if possible. A few old ones may be backwards compatible, like dd and ps and tar for instance. |