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