Rechercher une page de manuel
set_bit
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
set_bit - Atomically set a bit in memorySYNOPSIS
- void set_bit(int nr, volatile void * addr);
ARGUMENTS
nr
- the bit to set
addr
- the address to start counting from
DESCRIPTION
This function is atomic and may not be reordered. See __set_bit if you do not require the atomic guarantees.
NOTE
there are no guarantees that this function will not be reordered on non x86 architectures, so if you are writing portable code, make sure not to rely on its reordering guarantees.
Note that nr may be almost arbitrarily large; this function is not restricted to acting on a single-word quantity.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre