__CHANGE_BIT
Section: Basic C Library Functions (9)
Updated: February 2011
Index
Return to Main Contents
NAME
__change_bit - Toggle a bit in memory
SYNOPSIS
-
void __change_bit(int nr, volatile unsigned long * addr);
ARGUMENTS
nr
-
- the bit to change
addr
-
the address to start counting from
DESCRIPTION
Unlike
change_bit, this function is non-atomic and may be reordered. If it's called on the same region of memory simultaneously, the effect may be that only one operation succeeds.
COPYRIGHT