[libc-commits] [libc] [libc] Change __llvm_libc_stdio_seek to match cookie_io_functions_t (PR #225632)
Petr Hosek via libc-commits
libc-commits at lists.llvm.org
Thu Nov 19 00:18:11 PST 2026
================
@@ -27,12 +27,13 @@ LLVM_LIBC_FUNCTION(off_t, ftello, (::FILE * stream)) {
libc_errno = EINVAL;
return static_cast<off_t>(-1);
}
- off_t result = __llvm_libc_stdio_seek(stream, 0, SEEK_CUR);
+ off_t offset;
----------------
petrhosek wrote:
Done.
https://github.com/llvm/llvm-project/pull/225632
More information about the libc-commits
mailing list