title: Can I call memcpy() and memmove() with "number of bytes" set to zero?
body: <p>Do I need to treat cases when I actully have nothing to move/copy with <code>memmove()</code>/<code>memcpy()</code> as edge cases</p>
  
  <pre><code>int numberOfBytes = ...
  if( numberOfBytes != 0 ) {
      memmove( dest, source, numberOfBytes );
  }
  </code></pre>
  
  <p>or should I just call the function without checking</p>
  
  <pre><code>int numberOfBytes = ...
  memmove( dest, source, numberOfBytes );
  </code></pre>
  
  <p>Is the check in the former snippet necessary?</p>