Scroll to navigation

MEMSET16(9) Basic C Library Functions MEMSET16(9)

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.

COPYRIGHT

June 2023 Kernel Hackers Manual 3.10