tfMemSet
Table of Contents >> Programmer's Reference
| #include <trsocket.h> |
| void tfMemSet | ( |
| void * buffer, | |
| unsinged char fillCharacter, | |
| unsigned length | |
| ); |
Function Description
This function is used to fill an area of memory (i.e. set all of the bytes to 0x00).
In versions 2.0 and earlier, the order of the fillCharacter and length parameters was reversed.
Parameters
- buffer
- Beginning of area to fill.
- fillCharacter
- What to fill the area with.
- length
- Length of area to copy.