strncat.c

The libc implementation

Author

Martin ‘Solar’ Baute

License

Public Domain

Summary
strncat.cThe libc implementation
Functions
strncatAppends up to n characters from the null terminated string s2 to the end of s1.

Functions

strncat

char * strncat(char * _PDCLIB_restrict s1,
const char * _PDCLIB_restrict s2,
size_t n)

Appends up to n characters from the null terminated string s2 to the end of s1.

Returns the value of s1

char * strncat(char * _PDCLIB_restrict s1,
const char * _PDCLIB_restrict s2,
size_t n)
Appends up to n characters from the null terminated string s2 to the end of s1.