Embedded TCP/IP stack
4.7.0
|
void fnet_strlcpy | ( | fnet_char_t * | dest, |
const fnet_char_t * | src, | ||
fnet_size_t | n | ||
) |
Copies part of a string.
dest | Pointer to the destination buffer where the content is to be copied. |
src | Pointer to the null-terminated string to be copied. |
n | Maximum 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.