[libc-commits] [libc] [libc] Add printf error handling (PR #162876)
Michael Jones via libc-commits
libc-commits at lists.llvm.org
Fri Oct 10 10:42:08 PDT 2025
================
@@ -10,27 +10,35 @@
#include "src/stdio/fclose.h"
#include "src/stdio/ferror.h"
#include "src/stdio/fopen.h"
+#include "src/stdio/fopencookie.h"
----------------
michaelrj-google wrote:
`fopencookie` is a posix specific function, we can't assume it's always available. If you want to test that `EOVERFLOW` triggers correctly you should do that in the `snprintf` test.
https://github.com/llvm/llvm-project/pull/162876
More information about the libc-commits
mailing list