# shz_memset2_16

Source: https://sh4zam.com/api/memory/shz_memset2_16/

> Sets the values of the 16 shorts pointed to by dst to the given value

```c
SHZ_INLINE void shz_memset2_16(void* dst, uint16_t value) SHZ_NOEXCEPT;
```

Sets the values of the 16 shorts pointed to by `dst` to the given `value`.

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `dst` | `void *` |  |
| `value` | `uint16_t` |  |

## Returns

Nothing (`void`).

## Warnings

- `dst` must be aligned by at least two bytes.

## Availability

- **C++ equivalent:** [`shz::memset2_16`](https://sh4zam.com/api/cpp/#shzmemset2_16)
- **Type-generic form:** none
- **Back-ends:** SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
- **Defined in:** [`sh4zam/shz_mem.h:292`](https://github.com/gyrovorbis/sh4zam/blob/ba1e30c88d49df0311870b229e1dd860ef26c477/include/sh4zam/shz_mem.h#L292)
- **Module:** [Memory](https://sh4zam.com/api/memory/), section "Constant-sized Operations"
