Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
bgColor#ccccff
langc
void my_memset(size_t n, char p[n], char v) {
  memset( p, v, n);
}

Bibliography

C99C11, section 6.7.6.3 (see example 4)