PreviousNext
clearBufferINFO
Help > OS functions > Buffers > clearBufferINFO

Function

 

Clear bufferINFO

Purpose

 

bufferINFO clearing (filling with zeros)

Syntax

 

void clearBufferINFO()

Parameters

 

  –

Return value

 

  –

Output values

 

     If memoryLimit == 0, complete bufferINFO (64 B) is cleared.

     If memoryLimit <> 0, just the first memoryLimit bytes of bufferINFO is cleared.

See Example E06–RAM.

Preconditions

 

The number of bytes to be cleared can be specified by memoryLimit (0 to 64).

Remarks

 

memoryLimit is automatically cleared after every clearBufferINFO call.

Side effects

 

  –

See also

 

copyBufferINFO2COM, copyBufferINFO2RF, copyBufferRF2INFO, copyBufferCOM2INFO, compareBufferINFO2RF, copyMemoryBlock, swapBufferINFO

Example 1

 

clearBufferINFO();

Example 2

 

memoryLimit = 32;

clearBufferINFO();  // Only the first half of bufferINFO is cleared