<p>Is there a version of memset() which sets a value that is larger than 1 byte (char)? For example, let's say we have a memset32() function, so using it we can do the following:</p>

<pre><code>int32_t array[10];
memset32(array, 0xDEADBEEF, sizeof(array));
</code></pre>

<p>This will set the value 0xDEADBEEF in all the elements of array. Currently it seems to me this can only be done with a loop.</p>

<p>Specifically, I am interested in a 64 bit version of memset(). Know anything like that?</p>

```
wmemset(3)
```
is the wide (16-bit) version of memset. I think that's the closest you're going to get in C, without a loop.