Lines Matching +defs:fprintf +defs:c
154 #define putc(c, stream) fputc(c, stream)
157 int fputc(int c, FILE* stream)
159 unsigned char ch = c;
167 int putchar(int c)
169 return fputc(c, stdout);
259 int c;
262 c = fgetc(stream);
263 if (c == EOF)
265 s[ofs++] = c;
266 if (c == '\n')
295 * - %[l*]{d,u,c,x,p}
304 char escape, lpref, c;
313 c = fmt[ofs++];
321 while (c >= '0' && c <= '9') {
323 width += c - '0';
325 c = fmt[ofs++];
328 if (c == 'c' || c == 'd' || c == 'u' || c == 'x' || c == 'p') {
331 if (c == 'p')
341 if (c == 'd') {
349 switch (c) {
350 case 'c':
370 else if (c == 's') {
375 else if (c == 'm') {
382 else if (c == '%') {
388 if (c == 'l') {
391 } else if (c == 'j') {
402 if (c == 0 || c == '%') {
423 if (c == 0)
453 int fprintf(FILE *stream, const char *fmt, ...)
657 fprintf(stderr, "%s%sunknown error\n", (msg && *msg) ? msg : "", (msg && *msg) ? ": " : "");
659 fprintf(stderr, "%s%serrno=%d\n", (msg && *msg) ? msg : "", (msg && *msg) ? ": " : "", errno);