source:
bootcd/isolinux/syslinux-6.03/com32/lib/strncat.c
@
26ffad7
Last change on this file since 26ffad7 was e16e8f2, checked in by , 3 years ago | |
---|---|
|
|
File size: 154 bytes |
Rev | Line | |
---|---|---|
[e16e8f2] | 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 | } |
Note: See TracBrowser
for help on using the repository browser.