Fenix Manual
Fenix Manual
Command Reference
Memory Commands

Alloc
Free
Map_Buffer
Memcopy
Memory_Total
Memory_Free
Memset
Memsetw
Realloc

Memsetw
Last Modified: May 29, 2005 21:05PM
(Any)
Description

MEMSETW (POINTER MEMORY, WORD VALUE, INT WORDS)

PARAMETERS:
memory: pointer to a memory zone
value: Value to which it is desired to assign to all the words of the zone
words: Size in words (1 word = 2 bytes) of the zone of memory.

DESCRIPTION:
This is a function outpost, that fills up a memory zone of x bytes in length (indicating this value in the parameter bytes) from an assigned value.

Its greatest use consists of modifying the content of 16 bit graphs with a color given back by Rgb. Have to take notice that bytes of memory are filling up x*2, since this stuffed function words, non bytes.

User Contributed Notes
Memsetw
Add Notes About Notes
There are no user contributed notes for this page.
Last updated: Mon, 30 May 2005 - 10:33:04

Manual © 2005 By Gary Moncrieff(Dazzy), Notes belong to their respective posters