Embedded TCP/IP stack  4.7.0

◆ fnet_memset()

void fnet_memset ( void *  dest,
fnet_uint8_t  value,
fnet_size_t  n 
)

Sets bytes in memory.

Parameters
destPointer to the buffer to be set.
valueValue to be set.
The value is passed as an int, but the function converts it to fnet_uint8_t.
nNumber of bytes to be set.
See also
fnet_memset_zero()

This function sets the first n bytes of the memory area pointed to by dest with the constant byte value.


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