1d5 #include #include int baud = 2400; int nofuck = 0; char fon[13] = "telix.fon"; opt_t opttable[] = { { "b", OPTINT, &baud }, { "f", OPTSTR, fon }, { "nofuck", OPTBOOL, &nofuck }, { NULL, 0, NULL } }; main(int argc, char **argv) { int optup; optup = getopts(argc,argv,opttable); printf("Baud: %d\n", baud); printf("Phone file: %s\n", fon); printf("Nofuck: %d\n", nofuck); printf("%s\n", argv[optup]); } . 0