Embedded TCP/IP stack: fnet_strncat

FNET

void fnet_strncat ( fnet_char_t dest,
const fnet_char_t src,
fnet_size_t  n 
)

Concatenates a string with part of another.

Parameters
destPointer to the null-terminated string to append to.
srcPointer to the null-terminated string to copy to the end of dest.
nMaximum number of characters to be appended.

This function appends a copy of the string pointed to by src to the end of the string pointed to by dest. If the length of the src string is less than n, only the content up to the terminating null-character is copied.
The resulting string is null-terminated.


© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net