https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90263

--- Comment #13 from Martin Sebor <msebor at gcc dot gnu.org> ---
I mean an equivalent of the following (with suitable symbol linkage):

  void* memccpy (void *d, const void *s, int c, size_t n)
  {
    // efficient memccpy, perhaps in assembly
  }

  void* memcpy (void *d, const void *s, size_t n)
  {
    memccpy (d, s, 0, n);
    return d;
  }

Reply via email to