diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-08-04 00:32:45 +0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-09-13 10:07:02 -0700 |
commit | 5c6e1633d218bd5b9c5077634829eb14d326308f (patch) | |
tree | 50a4fd55b51a0fab6506addf610a666afabaec9b /system/include/libc/stdio_ext.h | |
parent | 27d496610e0ef93c9805a6a1a77de3f053405c6b (diff) |
Update libc headers to use musl headers.
Diffstat (limited to 'system/include/libc/stdio_ext.h')
-rw-r--r-- | system/include/libc/stdio_ext.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/system/include/libc/stdio_ext.h b/system/include/libc/stdio_ext.h new file mode 100644 index 00000000..e3ab7fd4 --- /dev/null +++ b/system/include/libc/stdio_ext.h @@ -0,0 +1,34 @@ +#ifndef _STDIO_EXT_H +#define _STDIO_EXT_H + +#ifdef __cplusplus +extern "C" { +#endif + +#include <stdio.h> + +#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 *); + +size_t __freadahead(FILE *); +const char *__freadptr(FILE *, size_t *); +void __freadptrinc(FILE *, size_t); +void __fseterr(FILE *); + +#ifdef __cplusplus +} +#endif + +#endif |