diff options
Diffstat (limited to 'lib/string/strncpy.c')
| -rw-r--r-- | lib/string/strncpy.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/string/strncpy.c b/lib/string/strncpy.c deleted file mode 100644 index a828465..0000000 --- a/lib/string/strncpy.c +++ /dev/null @@ -1,10 +0,0 @@ -/* SPDX-License-Identifier: MIT */ -/* Derived from musl libc (Copyright © 2005-2020 Rich Felker, et al.) */ - -#include <string.h> - -char *strncpy(char *restrict d, const char *restrict s, size_t n) -{ - __stpncpy(d, s, n); - return d; -} |
