stdio.h 577 B

12345678910111213141516171819202122232425
  1. #ifndef _BITS_STDIO_H
  2. #define _BITS_STDIO_H
  3. #define EOF (-1)
  4. typedef struct FILE FILE;
  5. #ifdef __cplusplus
  6. extern "C" {
  7. #endif
  8. int asprintf(char **strp, const char * fmt, ...);
  9. int fprintf(FILE * stream, const char * fmt, ...);
  10. int printf(const char * fmt, ...);
  11. int snprintf(char *s, size_t n, const char * fmt, ...);
  12. int sprintf(char *s, const char * fmt, ...);
  13. int fscanf(FILE * stream, const char * fmt, ...);
  14. int scanf(const char * fmt, ...);
  15. int sscanf(const char * input, const char * fmt, ...);
  16. #ifdef __cplusplus
  17. } // extern "C"
  18. #endif
  19. #endif /* _BITS_STDIO_H */