mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 21:25:07 +00:00
Add stub fflush().
This commit is contained in:
parent
8039a20611
commit
60a8144b68
2 changed files with 9 additions and 0 deletions
|
@ -23,6 +23,14 @@ int feof(FILE* stream)
|
|||
return stream->eof;
|
||||
}
|
||||
|
||||
int fflush(FILE* stream)
|
||||
{
|
||||
// FIXME: Implement buffered streams, duh.
|
||||
if (!stream)
|
||||
return -EBADF;
|
||||
return 0;
|
||||
}
|
||||
|
||||
char* fgets(char* buffer, int size, FILE* stream)
|
||||
{
|
||||
assert(stream);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue