2 * Copyright 2008-2012 Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
15 #define FSETLOCKING_QUERY 0
16 #define FSETLOCKING_INTERNAL 1
17 #define FSETLOCKING_BYCALLER 2
19 /* The following stdio extensions are not implemented yet */
20 /* extern size_t __fufsize(FILE* stream); */
21 extern int __freading(FILE* stream
);
22 /* extern int __fwriting(FILE* stream); */
23 /* extern int __freadable(FILE* stream); */
24 /* extern int __fwritable(FILE* stream); */
25 /* extern int __flbf(FILE* stream); */
26 extern void __fpurge(FILE* stream
);
27 /* extern size_t __fpending(FILE* stream); */
29 extern void _flushlbf(void);
30 extern int __fsetlocking(FILE* stream
, int type
);
36 #endif /* _STDIO_EXT_H_ */