Lines Matching +defs:src +defs:fp
2364 FILE *fp
2396 fprintf(fp, "ntpq commands:\n");
2400 fprintf(fp, "%-*.*s", (int)col,
2402 fprintf(fp, "\n");
2416 fprintf(fp, "function: %s\n", xcp->comment);
2417 printusage(xcp, fp);
2444 FILE *fp
2451 (void) fprintf(fp, "usage: %s", xcp->keyword);
2454 (void) fprintf(fp, " [ %s ]", xcp->desc[i]);
2456 (void) fprintf(fp, " %s", xcp->desc[i]);
2458 (void) fprintf(fp, "\n");
2468 FILE *fp
2475 (void) fprintf(fp, "primary timeout %d ms\n", val);
2490 FILE *fp
2498 (void) fprintf(fp, "delay %lu ms\n", val);
2524 FILE *fp
2531 (void) fprintf(fp, "current host is %s\n",
2534 (void) fprintf(fp, "no current host\n");
2550 fprintf(fp, "current host set to %s\n", currenthost);
2554 fprintf(fp, "current host remains %s\n",
2557 fprintf(fp, "still no current host\n");
2569 FILE *fp
2572 (void) fprintf(fp, "poll not implemented yet\n");
2599 FILE *fp
2603 (void) fprintf(fp, "drefid value is %s\n", showdrefid2str());
2610 (void) fprintf(fp, "What?\n");
2613 (void) fprintf(fp, "drefid value set to %s\n", showdrefid2str());
2623 FILE *fp
2628 (void) fprintf(fp, "no keyid defined\n");
2630 (void) fprintf(fp, "keyid is %lu\n", (u_long)info_auth_keyid);
2634 (void) fprintf(fp, "Invalid key identifier\n");
2645 FILE *fp
2653 fprintf(fp, "keytype is %s with %lu octet digests\n",
2664 fprintf(fp, "keytype is not valid. "
2685 FILE *fp
2693 (void)fprintf(fp, "Keyid must be defined\n");
2702 fprintf(fp, "Password unchanged\n");
2718 FILE *fp
2723 (void) fprintf(fp, "hostnames being shown\n");
2725 (void) fprintf(fp, "hostnames not being shown\n");
2744 FILE *fp
2748 (void) fprintf(fp, "debug level is %d\n", debug);
2757 (void) fprintf(fp, "What?\n");
2760 (void) fprintf(fp, "debug level set to %d\n", debug);
2771 FILE *fp
2787 FILE *fp
2791 (void) fprintf(fp, "%s\n", Version);
2803 FILE *fp
2807 (void) fprintf(fp, "Output set to raw\n");
2818 FILE *fp
2822 (void) fprintf(fp, "Output set to cooked\n");
2833 FILE *fp
2838 (void) fprintf(fp,
2841 (void) fprintf(fp,
2860 FILE *fp
2864 (void) fprintf(fp,
3021 FILE *fp
3033 putc('M', fp);
3034 putc('-', fp);
3039 putc('^', fp);
3040 putc(c + '@', fp);
3042 putc('^', fp);
3043 putc('?', fp);
3045 putc(c, fp);
3057 FILE *fp
3060 makeascii(length, data, fp);
3061 putc('\n', fp);
3072 const char * src,
3080 sl = strlen(src);
3083 memcpy(out, src, width);
3089 return src;
3100 const char * src,
3108 sl = strlen(src);
3112 memcpy(&out[1], &src[sl + 1 - width], width);
3117 return src;
3421 FILE *fp
3425 rawprint(sttype, length, data, status, quiet, fp);
3427 cookedprint(sttype, length, data, status, quiet, fp);
3441 FILE *fp
3454 (void) fprintf(fp, "status=0x%04x,\n", status);
3464 makeascii(1, cp, fp);
3466 putc(*cp, fp);
3468 makeascii(1, cp, fp);
3497 FILE *fp,
3510 fputs(",\n", fp);
3513 fputs(", ", fp);
3518 fputs(name, fp);
3519 putc('=', fp);
3520 fputs(value, fp);
3531 FILE *fp
3535 putc('\n', fp);
3544 FILE *fp,
3582 output(fp, name, buf);
3657 FILE *fp
3677 fprintf(fp, "status=%04x %s,\n", status,
3694 output(fp, name, prettydate(&lfp));
3702 output(fp, name, nntohost(&hval));
3704 output(fp, name, stoa(&hval));
3724 output(fp, name, refid_buf);
3726 output(fp, name, refnumtoa(&hval));
3729 output(fp, name, stoa(&hval));
3734 output(fp, name, refid_buf);
3738 output(fp, name, value);
3755 output(fp, name, b);
3764 output(fp, name, b);
3773 outputarr(fp, name, narr, lfparr, (fmt==AS));
3780 output(fp, name, tstflags(uval));
3789 output(fp, name, bv);
3814 output(fp, bn, bv);
3817 endoutput(fp);
4080 /* move to handle src/dest overlap */