fix mrand48/jrand48 return value on 64-bit archs
[musl.git] / include / stdio_ext.h
blobe3ab7fd4f9c6b1bb90af537dcb19d7ede9491309
1 #ifndef _STDIO_EXT_H
2 #define _STDIO_EXT_H
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
8 #include <stdio.h>
10 #define FSETLOCKING_QUERY 0
11 #define FSETLOCKING_INTERNAL 1
12 #define FSETLOCKING_BYCALLER 2
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 *);
25 size_t __freadahead(FILE *);
26 const char *__freadptr(FILE *, size_t *);
27 void __freadptrinc(FILE *, size_t);
28 void __fseterr(FILE *);
30 #ifdef __cplusplus
32 #endif
34 #endif