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:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user