RVBTCC/boot-lib.c

15 lines
259 B
C
Raw Normal View History

2024-11-15 13:27:39 +00:00
#include <stdio.h>
#include <stdarg.h>
int eprintf(const char format[], ...) {
va_list args;
va_start(args, format);
int ret = vfprintf(stderr, format, args);
va_end(args);
return ret;
}
void ungetchar(int ch) {
ungetc(ch, stdin);
2024-11-16 00:39:45 +00:00
}