blob: 99d957594cfd07507d800edd867d06dc7625a285 [file] [log] [blame]
/*
* strncat.c
*/
#include <string.h>
char *strncat(char *dst, const char *src, size_t n)
{
strncpy(strchr(dst, '\0'), src, n);
return dst;
}