musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/string/strncpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/strncpy.c')
-rw-r--r--src/string/strncpy.c 2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/string/strncpy.c b/src/string/strncpy.c
index 441ba033..545892e6 100644
--- a/src/string/strncpy.c
+++ b/src/string/strncpy.c
@@ -1,7 +1,5 @@
#include <string.h>
-char *__stpncpy(char *, const char *, size_t);
-
char *strncpy(char *restrict d, const char *restrict s, size_t n)
{
__stpncpy(d, s, n);
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月12日 19:31:26 +0000

AltStyle によって変換されたページ (->オリジナル) /