Lines Matching refs:errstr
51 const char *errstr, *file, *group, *ifaddr, *msg;
76 loop = strtonum(optarg, 0, 1, &errstr);
77 if (errstr != NULL)
78 errx(1, "loop is %s: %s", errstr, optarg);
84 port = strtonum(optarg, 1, 0xffff, &errstr);
85 if (errstr != NULL)
86 errx(1, "port is %s: %s", errstr, optarg);
89 ttl = strtonum(optarg, 0, 255, &errstr);
90 if (errstr != NULL)
91 errx(1, "ttl is %s: %s", errstr, optarg);