byfill()

Fills a specified number of bytes with a specified character.

Syntax

void byfill(char *s1, mint n, char c);
  1. s1 is a pointer to the first byte of the memory area that you want to fill.
  2. n is the number of times that you want to repeat the character within the area.
  3. c is the character that you want to use to fill the area.