NJU-ProjectN/abstract-machine 3348db971fd860be5cb28e21c18f9d0e65d0c96a Merge pull request #8 from Jasonyanyusong/master
28 lines
565 B
C
28 lines
565 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, ...) {
|
|
panic("Not implemented");
|
|
}
|
|
|
|
int vsprintf(char *out, const char *fmt, va_list ap) {
|
|
panic("Not implemented");
|
|
}
|
|
|
|
int sprintf(char *out, const char *fmt, ...) {
|
|
panic("Not implemented");
|
|
}
|
|
|
|
int snprintf(char *out, size_t n, const char *fmt, ...) {
|
|
panic("Not implemented");
|
|
}
|
|
|
|
int vsnprintf(char *out, size_t n, const char *fmt, va_list ap) {
|
|
panic("Not implemented");
|
|
}
|
|
|
|
#endif
|