memset()

Syntax
   #include <string.h>

  
  void *memset(void *p, int val, size_t n);

  
Description

memset() sets the first n bytes of the memory area pointed to by p to the value ( val&0xFF).

Return

p

See also

calloc()

memcpy() and memmove()