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

LibC: Implement getwchar()

This commit is contained in:
Ali Mohammad Pur 2021-12-19 21:18:58 +03:30 committed by Ali Mohammad Pur
parent cf17677206
commit a4e8a09188
2 changed files with 6 additions and 0 deletions

View file

@ -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

View file

@ -56,4 +56,9 @@ wint_t getwc(FILE* stream)
{
return fgetwc(stream);
}
wint_t getwchar()
{
return getwc(stdin);
}
}