2
0

stdio.h 527 B

123456789101112131415161718192021222324
  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 fprintf(FILE * stream, const char * fmt, ...);
  9. int printf(const char * fmt, ...);
  10. int snprintf(char *s, size_t n, const char * fmt, ...);
  11. int sprintf(char *s, const char * fmt, ...);
  12. int fscanf(FILE * stream, const char * fmt, ...);
  13. int scanf(const char * fmt, ...);
  14. int sscanf(const char * input, const char * fmt, ...);
  15. #ifdef __cplusplus
  16. } // extern "C"
  17. #endif
  18. #endif /* _BITS_STDIO_H */