mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:04:59 +00:00
LibC: Implement getwchar()
This commit is contained in:
parent
cf17677206
commit
a4e8a09188
2 changed files with 6 additions and 0 deletions
|
@ -73,5 +73,6 @@ size_t wcsspn(const wchar_t* wcs, const wchar_t* accept);
|
|||
|
||||
wint_t fgetwc(FILE* stream);
|
||||
wint_t getwc(FILE* stream);
|
||||
wint_t getwchar(void);
|
||||
|
||||
__END_DECLS
|
||||
|
|
|
@ -56,4 +56,9 @@ wint_t getwc(FILE* stream)
|
|||
{
|
||||
return fgetwc(stream);
|
||||
}
|
||||
|
||||
wint_t getwchar()
|
||||
{
|
||||
return getwc(stdin);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue