[libcxx-commits] [libcxx] [libc++] Support file offsets larger than 2GB in basic_filebuf on 32-bit AIX and 32-bit glibc Linux (PR #215892)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Fri Aug 14 00:42:05 PDT 2026


================
@@ -227,6 +241,14 @@ _LIBCPP_BEGIN_EXPLICIT_ABI_ANNOTATIONS
 _LIBCPP_EXPORTED_FROM_ABI void* __filebuf_windows_native_handle(FILE* __file) noexcept;
 #    endif
 
+_LIBCPP_HIDE_FROM_ABI inline FILE* __fopen(const char* __name, const char* __mode) {
----------------
philnik777 wrote:

I think I'd rather keep that in `basic_filebuf`. We don't need `fopen` anywhere else and that keeps the different filestream functions in one place.

https://github.com/llvm/llvm-project/pull/215892


More information about the libcxx-commits mailing list