source: bootcd/isolinux/syslinux-6.03/com32/lib/strncat.c

Last change on this file was e16e8f2, checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago

bootstuff

  • Property mode set to 100644
File size: 154 bytes
Line 
1/*
2 * strncat.c
3 */
4
5#include <string.h>
6
7char *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.