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.

[Caution]

The memset function may be internally called by CC-RL and is included in the runtime library. Do not create a user function having the name memset.