chiark / gitweb /
[PATCH] fix bug in klibc's isspace function.
[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 }