We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5233127 commit 9543b52Copy full SHA for 9543b52
libc/src/string/stpcpy.cpp
@@ -8,7 +8,6 @@
8
9
#include "src/string/stpcpy.h"
10
#include "src/__support/macros/config.h"
11
-#include "src/string/memory_utils/inline_memcpy.h"
12
#include "src/string/string_utils.h"
13
14
#include "src/__support/common.h"
@@ -18,7 +17,7 @@ namespace LIBC_NAMESPACE_DECL {
18
17
LLVM_LIBC_FUNCTION(char *, stpcpy,
19
(char *__restrict dest, const char *__restrict src)) {
20
size_t size = internal::string_length(src) + 1;
21
- inline_memcpy(dest, src, size);
+ __builtin_memcpy(dest, src, size);
22
char *result = dest + size;
23
24
if (result != nullptr)
0 commit comments