Debian Codegraph @

libc-top-half/musl/src/string/strncpy.c

raw
1 #include <string.h>
2
3 char *strncpy(char *restrict d, const char *restrict s, size_t n)
4 {
5 __stpncpy(d, s, n);
6 return d;
7 }