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:
parent
a4e8a09188
commit
cb90856756
4 changed files with 40 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue