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

Hubert Tong via libcxx-commits libcxx-commits at lists.llvm.org
Thu Aug 13 14:03:58 PDT 2026


================
@@ -432,6 +446,7 @@ private:
 
   _LIBCPP_HIDE_FROM_ABI static int __fseek(FILE* __file, pos_type __offset, int __whence);
   _LIBCPP_HIDE_FROM_ABI static pos_type __ftell(FILE* __file);
+  _LIBCPP_HIDE_FROM_ABI static FILE* __fopen(const char* __name, const char* __mode);
----------------
hubert-reinterpretcast wrote:

Unlike the other two declarations, which use `pos_type`, this one does not depend on any template arguments. In other words, I believe that this should be a namespace-scope function or a static member of a non-dependent base class.

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


More information about the libcxx-commits mailing list