The byfill() function
The byfill() function fills a specified area with one character.
Syntax
void byfill(to, length, ch)
char *to;
mint length;
char ch;
- to
- A pointer to the first byte of the memory area to fill.
- length
- The number of times to repeat the character within the area.
- ch
- The character to use to fill the area.Important: Take care not to overwrite areas of memory adjacent to the area that you want byfill() to fill.