0fae873352
Cleaned up some header style violations, making sure there are two blank lines after the header guards. This fixes the posix header part of #2191. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39288 a95241bf-73f2-0310-859d-f6bbb57e9c96
38 lines
852 B
C
38 lines
852 B
C
/*
|
|
* Copyright 2008-2010 Haiku Inc. All Rights Reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _STDIO_EXT_H_
|
|
#define _STDIO_EXT_H_
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define FSETLOCKING_QUERY 0
|
|
#define FSETLOCKING_INTERNAL 1
|
|
#define FSETLOCKING_BYCALLER 2
|
|
|
|
/* The following stdio extensions are not implemented yet */
|
|
/* extern size_t __fufsize(FILE* stream); */
|
|
extern int __freading(FILE* stream);
|
|
/* extern int __fwriting(FILE* stream); */
|
|
/* extern int __freadable(FILE* stream); */
|
|
/* extern int __fwritable(FILE* stream); */
|
|
/* extern int __flbf(FILE* stream); */
|
|
extern void __fpurge(FILE* stream);
|
|
/* extern size_t __fpending(FILE* stream); */
|
|
|
|
extern void _flushlbf(void);
|
|
extern int __fsetlocking(FILE* stream, int type);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _STDIO_EXT_H_ */
|
|
|