save
This commit is contained in:
19
core/print.c
19
core/print.c
@@ -10,15 +10,14 @@
|
||||
#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);
|
||||
fprintf (stderr, "\n"); /* Use stderr consistently */
|
||||
va_end (args);
|
||||
return len;
|
||||
int len;
|
||||
va_list args;
|
||||
va_start(args, format);
|
||||
fprintf(stderr, "yait: ");
|
||||
len = vfprintf(stderr, format, args);
|
||||
fprintf(stderr, "\n"); /* Use stderr consistently */
|
||||
va_end(args);
|
||||
return len;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user