stdio.h 433 B

12345678910111213141516171819202122232425
  1. #ifndef __GBLIBC_STDIO_H_
  2. #define __GBLIBC_STDIO_H_
  3. #include <stdarg.h>
  4. #include <stdint.h>
  5. #undef EOF
  6. #define EOF (-1)
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10. int puts(const char* str);
  11. char* gets(char* str);
  12. int vsnprintf(char* buf, size_t bufsize, const char* fmt, va_list args);
  13. int snprintf(char* buf, size_t bufsize, const char* fmt, ...);
  14. int sprintf(char* buf, const char* fmt, ...);
  15. #ifdef __cplusplus
  16. }
  17. #endif
  18. #endif