[libc-commits] [libc] [libc] Implement freopen (PR #207837)
Jeff Bailey via libc-commits
libc-commits at lists.llvm.org
Wed Jul 8 07:50:49 PDT 2026
================
@@ -1,5 +1,31 @@
add_custom_target(libc_stdio_unittests)
+add_libc_test(
+ freopen_test
+ SUITE
+ libc_stdio_unittests
+ SRCS
+ freopen_test.cpp
+ DEPENDS
+ libc.include.stdio
+ libc.src.errno.errno
+ libc.src.fcntl.fcntl
+ libc.src.stdio.clearerr
+ libc.src.stdio.fclose
+ libc.src.stdio.feof
+ libc.src.stdio.ferror
+ libc.src.stdio.fflush
+ libc.src.stdio.fileno
+ libc.src.stdio.fopen
+ libc.src.stdio.fread
+ libc.src.stdio.freopen
+ libc.src.stdio.fwrite
+ libc.src.stdio.stdout
+ libc.src.unistd.close
+ libc.src.wchar.fwide
+ libc.test.UnitTest.ErrnoCheckingTest
----------------
kaladron wrote:
Please add libc.hdr.fcntl_macros
libc.hdr.stdio_macros
libc.src.__support.macros.properties.os
libc.test.UnitTest.ErrnoSetterMatcher
https://github.com/llvm/llvm-project/pull/207837
More information about the libc-commits
mailing list