wrappers.h 706 B

12345678910111213141516171819202122232425
  1. #include <stdio.h>
  2. #include <stdint.h>
  3. #include <string.h>
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. void _putchar(char character);
  8. int __wrap_printf(const char* format, ...);
  9. int __wrap_vsnprintf(char* str, size_t size, const char* format, va_list args);
  10. int __wrap_puts(const char* str);
  11. int __wrap_putchar(int ch);
  12. int __wrap_putc(int ch, FILE* stream);
  13. int __wrap_snprintf(char* str, size_t size, const char* format, ...);
  14. int __wrap_fflush(FILE* stream);
  15. __attribute__((__noreturn__)) void __wrap___assert(const char* file, int line, const char* e);
  16. __attribute__((__noreturn__)) void
  17. __wrap___assert_func(const char* file, int line, const char* func, const char* e);
  18. #ifdef __cplusplus
  19. }
  20. #endif