1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:37:35 +00:00

LibC: Implement f{get,put}ws()

This commit is contained in:
Ali Mohammad Pur 2021-12-19 22:22:31 +03:30 committed by Ali Mohammad Pur
parent bd9a22e7e7
commit db7a6d6e74
4 changed files with 48 additions and 13 deletions

View file

@ -40,7 +40,9 @@ public:
size_t read(u8*, size_t);
size_t write(const u8*, size_t);
bool gets(u8*, size_t);
template<typename CharType>
bool gets(CharType*, size_t);
bool ungetc(u8 byte) { return m_buffer.enqueue_front(byte); }
int seek(off_t offset, int whence);