dns response handling: ignore presence of wrong-type RRs
[musl] / src / string / strncpy.c
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 }