memset() String Function memset() Fill an area with a character #include <string.h> char *memset(buffer, character, n); char *buffer; int character; unsigned int n; memset fills the first n bytes of the area pointed to by buffer with copies of character. It casts character to an unsigned char before filling buffer with copies of it. memset returns the pointer buffer. ***** See Also ***** string functions, string.h COHERENT Lexicon Page 1