ierror
ierror("%s", &parg);
ierror("Finishing logfile", NULL);
void ierror(const char *, PARG *);
ierror("Determining length of file", NULL);
ierror("Calculating line numbers", NULL);
int accept = 0, ret, s, ierror;
ierror = getaddrinfo(hostname, "ntp", &hints, &res0);
if (ierror) {
errx(1, "%s: %s", hostname, gai_strerror(ierror));