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
commit db7a6d6e74
Notes: sideshowbarker 2024-07-17 22:55:25 +09:00
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);