1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 18:47:44 +00:00

LibC: Implement {f,}getwc()

This commit is contained in:
Ali Mohammad Pur 2021-12-19 21:14:23 +03:30 committed by Ali Mohammad Pur
parent 3b281baf75
commit cf17677206
5 changed files with 207 additions and 130 deletions

View file

@ -6,6 +6,8 @@
#pragma once
#include <bits/FILE.h>
#include <stdarg.h>
#include <stddef.h>
#include <sys/cdefs.h>
@ -69,4 +71,7 @@ size_t mbsnrtowcs(wchar_t*, const char**, size_t, size_t, mbstate_t*);
size_t wcscspn(const wchar_t* wcs, const wchar_t* reject);
size_t wcsspn(const wchar_t* wcs, const wchar_t* accept);
wint_t fgetwc(FILE* stream);
wint_t getwc(FILE* stream);
__END_DECLS