diff options
author | Tim Schumacher <timschumi@gmx.de> | 2021-05-26 12:34:05 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-04-03 19:15:14 +0200 |
commit | 3237efc661a2304eef12a86c2f581a26c1c440c2 (patch) | |
tree | 61d41122f3ba1f1a57d6c7583b033a1106909961 /Userland/Libraries/LibC/bits/stdio_file_implementation.h | |
parent | 4f706d819af572f44a184d5f6e6b6bdae167c5ed (diff) | |
download | serenity-3237efc661a2304eef12a86c2f581a26c1c440c2.zip |
LibC: Implement __fseterr
Diffstat (limited to 'Userland/Libraries/LibC/bits/stdio_file_implementation.h')
-rw-r--r-- | Userland/Libraries/LibC/bits/stdio_file_implementation.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibC/bits/stdio_file_implementation.h b/Userland/Libraries/LibC/bits/stdio_file_implementation.h index cdccefdf20..1b2d72a064 100644 --- a/Userland/Libraries/LibC/bits/stdio_file_implementation.h +++ b/Userland/Libraries/LibC/bits/stdio_file_implementation.h @@ -44,6 +44,7 @@ public: int error() const { return m_error; } void clear_err() { m_error = 0; } + void set_err() { m_error = 1; } size_t read(u8*, size_t); size_t write(u8 const*, size_t); |