1CHANGE_BIT(9) Basic C Library Functions CHANGE_BIT(9)
23
4
NAME
6change_bit - Toggle a bit in memory
7
SYNOPSIS
9void change_bit(int nr, volatile unsigned long * addr);
10
ARGUMENTS
12nr
13Bit to change
1415
addr
16Address to start counting from
17
DESCRIPTION
19change_bit is atomic and may not be reordered. Note that nr may be
20almost arbitrarily large; this function is not restricted to acting on
21a single-word quantity.
22
COPYRIGHT
24Kernel Hackers Manual 2.6. November 2011 CHANGE_BIT(9)