[libc-commits] [libc] [libc] Implemented wcsnlen (PR #145610)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Thu Jun 26 09:34:54 PDT 2025


================
@@ -0,0 +1,26 @@
+//===-- Implementation of wcsnlen -----------------------------------------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+#include "src/wchar/wcsnlen.h"
+
+#include "hdr/types/size_t.h"
+#include "hdr/types/wchar_t.h"
+#include "src/__support/common.h"
+#include "src/__support/macros/config.h"
+#include "src/string/string_utils.h" // string_length_trivial
----------------
michaelrj-google wrote:

this isn't used, Remove here and in the cmake

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


More information about the libc-commits mailing list