[libc-commits] [libc] [libc] Implement fgetpos/fsetpos (PR #221349)
Jeff Bailey via libc-commits
libc-commits at lists.llvm.org
Fri Oct 9 04:04:03 PDT 2026
================
@@ -0,0 +1,47 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+///
+/// \file
+/// Implementation of fgetpos
+///
+//===----------------------------------------------------------------------===//
+
+#include "src/stdio/fgetpos.h"
+#include "hdr/types/FILE.h"
+#include "hdr/types/fpos_t.h"
+#include "src/__support/File/file.h"
+#include "src/__support/libc_errno.h"
+#include "src/__support/macros/config.h"
+#include "src/__support/macros/null_check.h"
----------------
kaladron wrote:
IWYU for mbstate.h (here and in fsetpos.cpp)
https://github.com/llvm/llvm-project/pull/221349
More information about the libc-commits
mailing list