format: GNU
This commit is contained in:
14
core/print.c
14
core/print.c
@@ -2,13 +2,15 @@
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int printfn(char *format, ...) {
|
||||
int
|
||||
printfn (char *format, ...)
|
||||
{
|
||||
int len;
|
||||
va_list args;
|
||||
va_start(args, format);
|
||||
fprintf(stderr, "yait: ");
|
||||
len = vfprintf(stderr, format, args);
|
||||
putchar('\n');
|
||||
va_end(args);
|
||||
va_start (args, format);
|
||||
fprintf (stderr, "yait: ");
|
||||
len = vfprintf (stderr, format, args);
|
||||
putchar ('\n');
|
||||
va_end (args);
|
||||
return len;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user