Embedded TCP/IP stack: fnet_strncpy

FNET

void fnet_strncpy ( 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-2018 by Andrey Butok. http://fnet.sourceforge.net