[llvm-branch-commits] [libc] [libc] Annex K: strcpy_s (PR #197709)

Jeff Bailey via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jul 2 04:04:00 PDT 2026


================
@@ -0,0 +1,75 @@
+//===----------------------------------------------------------------------===//
+//
+// 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
+/// This file contains the implementation of strcpy_s.
+///
+//===----------------------------------------------------------------------===//
+
+#define __STDC_WANT_LIB_EXT1__ 1
+#include "hdr/stdint_proxy.h"
+#undef __STDC_WANT_LIB_EXT1__
+#include "hdr/types/constraint_handler_t.h"
----------------
kaladron wrote:

This looks like it's in #197707 - Maybe just merge that PR into this one.  It's small and hard to understand the utility of in isolation.

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


More information about the llvm-branch-commits mailing list