Implemented __freading(), __fpurge(), and fpurge().

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28397 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2008-10-31 13:02:40 +00:00
parent fecef4111e
commit 3a39905b59
5 changed files with 55 additions and 3 deletions
+2 -1
View File
@@ -1,4 +1,4 @@
/*
/*
** Distributed under the terms of the OpenBeOS License.
*/
#ifndef _STDIO_H_
@@ -96,6 +96,7 @@ extern void perror(const char *errorPrefix);
/* file I/O */
extern int fflush(FILE *stream);
extern int fflush_unlocked(FILE *stream);
extern int fpurge(FILE *stream);
extern int fgetpos(FILE *stream, fpos_t *position);
extern int fsetpos(FILE *stream, const fpos_t *position);
+2 -2
View File
@@ -17,12 +17,12 @@ extern "C" {
/* The following stdio extensions are not implemented yet */
/* extern size_t __fufsize(FILE* stream); */
/* extern int __freading(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 void __fpurge(FILE* stream);
/* extern size_t __fpending(FILE* stream); */
extern void _flushlbf(void);