1570af302Sopenharmony_ci#ifndef _STDIO_EXT_H
2570af302Sopenharmony_ci#define _STDIO_EXT_H
3570af302Sopenharmony_ci
4570af302Sopenharmony_ci#ifdef __cplusplus
5570af302Sopenharmony_ciextern "C" {
6570af302Sopenharmony_ci#endif
7570af302Sopenharmony_ci
8570af302Sopenharmony_ci#include <stdio.h>
9570af302Sopenharmony_ci
10570af302Sopenharmony_ci#define FSETLOCKING_QUERY 0
11570af302Sopenharmony_ci#define FSETLOCKING_INTERNAL 1
12570af302Sopenharmony_ci#define FSETLOCKING_BYCALLER 2
13570af302Sopenharmony_ci
14570af302Sopenharmony_civoid _flushlbf(void);
15570af302Sopenharmony_ciint __fsetlocking(FILE *, int);
16570af302Sopenharmony_ciint __fwriting(FILE *);
17570af302Sopenharmony_ciint __freading(FILE *);
18570af302Sopenharmony_ciint __freadable(FILE *);
19570af302Sopenharmony_ciint __fwritable(FILE *);
20570af302Sopenharmony_ciint __flbf(FILE *);
21570af302Sopenharmony_cisize_t __fbufsize(FILE *);
22570af302Sopenharmony_cisize_t __fpending(FILE *);
23570af302Sopenharmony_ciint __fpurge(FILE *);
24570af302Sopenharmony_ci
25570af302Sopenharmony_cisize_t __freadahead(FILE *);
26570af302Sopenharmony_ciconst char *__freadptr(FILE *, size_t *);
27570af302Sopenharmony_civoid __freadptrinc(FILE *, size_t);
28570af302Sopenharmony_civoid __fseterr(FILE *);
29570af302Sopenharmony_ci
30570af302Sopenharmony_ci#ifdef __cplusplus
31570af302Sopenharmony_ci}
32570af302Sopenharmony_ci#endif
33570af302Sopenharmony_ci
34570af302Sopenharmony_ci#endif
35