mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-17 07:50:04 +00:00
LibC: Implement f{get,put}ws()
This commit is contained in:
parent
bd9a22e7e7
commit
db7a6d6e74
Notes:
sideshowbarker
2024-07-17 22:55:25 +09:00
Author: https://github.com/alimpfard
Commit: db7a6d6e74
Pull-request: https://github.com/SerenityOS/serenity/pull/11324
Reviewed-by: https://github.com/BertalanD
4 changed files with 48 additions and 13 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue