mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:47:35 +00:00
LibC: Implement __fseterr
This commit is contained in:
parent
4f706d819a
commit
3237efc661
3 changed files with 8 additions and 0 deletions
|
@ -1369,6 +1369,12 @@ void __freadptrinc(FILE* stream, size_t increment)
|
|||
|
||||
stream->readptr_increase(increment);
|
||||
}
|
||||
|
||||
void __fseterr(FILE* stream)
|
||||
{
|
||||
ScopedFileLock lock(stream);
|
||||
stream->set_err();
|
||||
}
|
||||
}
|
||||
|
||||
template bool FILE::gets<u8>(u8*, size_t);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue