Name

memset16 — Fill a memory area with a uint16_t

Synopsis

void * memset16 (uint16_t * s,
 uint16_t v,
 size_t count);
 

Arguments

s

Pointer to the start of the area.

v

The value to fill the area with

count

The number of values to store

Description

Differs from memset in that it fills with a uint16_t instead of a byte. Remember that count is the number of uint16_ts to store, not the number of bytes.