memset


Initialization with the specified character from the start of an object for the specified number of characters

[Classification]

Standard library

[Syntax]

#include <string.h>

void __near * __far memset(const void __near *s, int c, size_t n);

void __far * __far _COM_memset_f(const void __far *s, int c, size_t n);

[Return value]

Returns the value of s.

[Description]

This function copies the value of c to the first n character of an object indicated by s.