title: Why isn't there a standard memswap function
body: <p>Why doesn't have the c standard a memswap function, which would probably look like:</p>
  
  <pre><code>int memswap(void *ptr1, void *ptr2, size_t nbytes)?
  </code></pre>
  
  <p>I know it'd be easy to write, but i think the libc could do some awesome tricks to speed it up like some implementations do it for memcpy.</p>