chiark / gitweb /
[PATCH] tweak udev-test.pl to report '0' errors if that's what happened.
[elogind.git] / klibc / klibc / strncat.c
1 /*
2  * strncat.c
3  */
4
5 #include <string.h>
6
7 char *strncat(char *dst, const char *src, size_t n)
8 {
9   strncpy(strchr(dst, '\0'), src, n);
10   return dst;
11 }