MEMSET - set memory to specific value.

(ANSI Standard)

Usage:

#include <string.h>
ret = memset( p, value, N );

Where:

void *p;
points to the beginning of the memory that should be set to the given value.
int value;
is the value that is to be assigned to each byte.
size_t N;
is the number of bytes whose value is to be set.
void *ret;
points to the beginning of the initialized memory.

Description:

"memset" sets N bytes to the given value, beginning at the byte pointed to by "p".

Copyright © 1996, Thinkage Ltd.