title: How to memset() memory to a certain pattern instead of a single byte?
body: <p>I need to write a repeating pattern to memory (e.g. <code>0x11223344</code>), so that the whole memory looks like (in hex):</p>
  <pre><code>1122334411223344112233441122334411223344112233441122334411223344...
  </code></pre>
  <p>I can't figure out how to do it with <code>memset()</code> because it takes only a single byte, not 4 bytes.</p>
  <p>Any ideas?</p>