summaryrefslogtreecommitdiff
path: root/com32/lib/strncat.c
blob: 71cdb35f3a270b8430b50a9e9bbbe8d98867648e (plain)
1
2
3
4
5
6
7
8
9
10
11
/*
 * strncat.c
 */

#include <string.h>

char *strncat(char *dst, const char *src, size_t n)
{
    strncpy(strchr(dst, '\0'), src, n);
    return dst;
}