Lines Matching refs:fmt
52 scanf(char *fmt, ...)
59 va_start(ap, fmt);
60 if (strlen(fmt) >= sizeof(newform)) {
61 nf = malloc(strlen(fmt)+1);
62 if (format_arg((unsigned char *)strcpy(nf, fmt), ap, newap)
70 } else if (format_arg((unsigned char *)strcpy(newform, fmt), ap, newap)
75 ret_val = _doscan(stdin, fmt, ap);
81 fscanf(FILE *iop, char *fmt, ...)
94 va_start(ap, fmt);
95 if (strlen(fmt) >= sizeof(newform)) {
96 nf = malloc(strlen(fmt)+1);
97 if (format_arg((unsigned char *)strcpy(nf, fmt), ap, newap)
105 } else if (format_arg((unsigned char *)strcpy(newform, fmt), ap, newap)
110 ret_val = _doscan(iop, fmt, ap);
116 sscanf(char *str, char *fmt, ...)
123 va_start(ap, fmt);
128 if (strlen(fmt) >= sizeof(newform)) {
129 nf = malloc(strlen(fmt)+1);
130 if (format_arg((unsigned char *)strcpy(nf, fmt), ap, newap)
138 } else if (format_arg((unsigned char *)strcpy(newform, fmt), ap, newap)
143 ret_val = _doscan(&strbuf, fmt, ap);