stdio_ext.h 611 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef _STDIO_EXT_H
  2. #define _STDIO_EXT_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #include <stdio.h>
  7. #define FSETLOCKING_QUERY 0
  8. #define FSETLOCKING_INTERNAL 1
  9. #define FSETLOCKING_BYCALLER 2
  10. void _flushlbf(void);
  11. int __fsetlocking(FILE *, int);
  12. int __fwriting(FILE *);
  13. int __freading(FILE *);
  14. int __freadable(FILE *);
  15. int __fwritable(FILE *);
  16. int __flbf(FILE *);
  17. size_t __fbufsize(FILE *);
  18. size_t __fpending(FILE *);
  19. int __fpurge(FILE *);
  20. size_t __freadahead(FILE *);
  21. const char *__freadptr(FILE *, size_t *);
  22. void __freadptrinc(FILE *, size_t);
  23. void __fseterr(FILE *);
  24. #ifdef __cplusplus
  25. }
  26. #endif
  27. #endif