diff options
Diffstat (limited to 'color.c')
-rw-r--r-- | color.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -484,6 +484,12 @@ int cfprintf(CFILE *cfile, const char *format, ...) { } break; + case 'd': + if (fprintf(file, "%d", va_arg(args, int)) < 0) { + goto done; + } + break; + case 's': if (fputs(va_arg(args, const char *), file) == EOF) { goto done; |