Make UEFI boot-platform build again
[haiku.git] / headers / posix / stdio_ext.h
blobfb0c4c28a3ec3fd1b12fd81a0ed9598950c65d6c
1 /*
2 * Copyright 2008-2012 Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _STDIO_EXT_H_
6 #define _STDIO_EXT_H_
9 #include <stdio.h>
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
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);
32 #ifdef __cplusplus
34 #endif
36 #endif /* _STDIO_EXT_H_ */