2011-06-30 16:44:48 +00:00
|
|
|
#ifndef _STDIO_EXT_H
|
|
|
|
#define _STDIO_EXT_H
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2012-08-24 20:16:30 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
|
2011-06-30 16:44:48 +00:00
|
|
|
#define FSETLOCKING_QUERY 0
|
|
|
|
#define FSETLOCKING_INTERNAL 1
|
|
|
|
#define FSETLOCKING_BYCALLER 2
|
|
|
|
|
|
|
|
void _flushlbf(void);
|
|
|
|
int __fsetlocking(FILE *, int);
|
|
|
|
int __fwriting(FILE *);
|
|
|
|
int __freading(FILE *);
|
|
|
|
int __freadable(FILE *);
|
|
|
|
int __fwritable(FILE *);
|
|
|
|
int __flbf(FILE *);
|
|
|
|
size_t __fbufsize(FILE *);
|
|
|
|
size_t __fpending(FILE *);
|
|
|
|
int __fpurge(FILE *);
|
|
|
|
|
2012-06-19 19:18:22 +00:00
|
|
|
size_t __freadahead(FILE *);
|
|
|
|
const char *__freadptr(FILE *, size_t *);
|
|
|
|
void __freadptrinc(FILE *, size_t);
|
|
|
|
void __fseterr(FILE *);
|
|
|
|
|
2011-06-30 16:44:48 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|