mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-19 08:51:57 +00:00
LibC: Implement {f,}putwc()
This commit is contained in:
parent
a4e8a09188
commit
cb90856756
Notes:
sideshowbarker
2024-07-17 22:29:35 +09:00
Author: https://github.com/alimpfard
Commit: cb90856756
Pull-request: https://github.com/SerenityOS/serenity/pull/11324
Reviewed-by: https://github.com/BertalanD
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