1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:14:58 +00:00

LibC: Implement {f,}putwc()

This commit is contained in:
Ali Mohammad Pur 2021-12-20 16:08:03 +03:30 committed by Ali Mohammad Pur
parent a4e8a09188
commit cb90856756
4 changed files with 40 additions and 1 deletions

View file

@ -341,6 +341,11 @@ FILE::Buffer::~Buffer()
free(m_data);
}
bool FILE::Buffer::may_use() const
{
return m_ungotten || m_mode != _IONBF;
}
void FILE::Buffer::realize(int fd)
{
if (m_mode == -1)