stMemSet Function
Declaration:
PVOID stMemSet(
  PVOID s,
  UINT8 c,
  SIZE n
);
Parameters:
s

Address of the destination buffer.

c

Value to be set.

n

Number of bytes to fill.

Return value:

Address of the destination buffer, containing the filled data.

Description:

This function fills the first n bytes of the memory area pointed to by s with the specified value c.

If functions for basic memory operations are inactive in the alternative C library (by setting ST_USE_MEMORY_CLIB to 1), a macro named stMemSet will be created that calls the memset function from the standard C library.

Version:1.0
Header file:ST_CLIB.h (include ST_API.h)
See also: PVOID, SIZE, ST_USE_MEMORY_CLIB, UINT8
SpaceShadow documentation