Interface __BVC

Inline function

SpaceUser/kernel
ContextSync/async/rt-irq
May blockNo
SPLAny
Dynamic memoryNo

#include <ARCH/BT.H>

static __finline__ unsigned long __BVC(unsigned long val, int bit);

Description

This function uses the same bitmap format as __BT and similar __B* functions, but it operates only on one long int. It doesn't operate in memory, but it returns a modified version of the word.

This function negates a bit in an unsigned long int and returns the new value.

Arguments

Returns

A value val with the bit negated.

See also

__BVS, __BVC, __BSCAN, __BT, __BTS, __BTR, __BTC, __BS, __BR, __BC