abstract-machine/klib/src/stdio.c
2020-09-04 00:13:55 +08:00

28 lines
485 B
C

#include <am.h>
#include <klib.h>
#include <klib-macros.h>
#include <stdarg.h>
#if !defined(__ISA_NATIVE__) || defined(__NATIVE_USE_KLIB__)
int printf(const char *fmt, ...) {
return 0;
}
int vsprintf(char *out, const char *fmt, va_list ap) {
return 0;
}
int sprintf(char *out, const char *fmt, ...) {
return 0;
}
int snprintf(char *out, size_t n, const char *fmt, ...) {
return 0;
}
int vsnprintf(char *out, size_t n, const char *fmt, va_list ap) {
return 0;
}
#endif