<< Previous | Next >>

res

void res( void * address, unsigned int bit );

Description

Dynamic C may expand this call inline. Clears specified bit at memory address to 0. Bit may be from 0 to 31. This is equivalent to the following expression, but more efficient:

   

*(long *)address &= ~(1L << bit)

Parameters

address
Address of byte containing bits 7-0.

bit
Bit location where 0 represents the least significant bit.

Library

UTIL.LIB

See also

RES


Dynamic C Functions << Previous | Next >> rabbit.com