memset()

Sets the contents of a block of memory to the value of a single character.

  #include <string.h>
  
  void *memset(void *dest, int c, size_t n);    
Parameter

dest

A pointer to an area of memory to set.

c

The character to store in dest.

n

The number of characters to set.

Remarks

This function assigns c to the first n characters of the item pointed to by dest.

The function returns the value of dest.

This facility may not be available on some configurations of the EWL.