Embedded TCP/IP stack  4.7.0

◆ fnet_strlcpy()

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

Copies part of a string.

Parameters
destPointer to the destination buffer where the content is to be copied.
srcPointer to the null-terminated string to be copied.
nMaximum number of characters to be copied.

This function copies the first n characters of the string pointed by src into the buffer pointed by dest.
The result string is null-terminated.


© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net