Lines Matching defs:fmt
380 prompt_Printf(struct prompt *p, const char *fmt,...)
385 va_start(ap, fmt);
386 prompt_vPrintf(p, fmt, ap);
392 prompt_vPrintf(struct prompt *p, const char *fmt, va_list ap)
400 size_t len = strlen(fmt);
402 if (len && len < sizeof nfmt - 1 && fmt[len-1] == '\n' &&
403 (len == 1 || fmt[len-2] != '\r')) {
404 strcpy(nfmt, fmt);
408 pfmt = fmt;
410 pfmt = fmt;