libc: io: fputc now updates errno on success

This commit is contained in:
2026-04-19 20:52:29 +01:00
parent b07acb3cdf
commit 07d5b4852c
+1
View File
@@ -15,6 +15,7 @@ int __fputc(int c, struct __opaque_file *stream)
return EOF;
}
__set_errno(SUCCESS);
return c;
}