centos man page for set_bit

Query: set_bit

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SET_BIT(9)						     Basic C Library Functions							SET_BIT(9)

NAME
set_bit - Atomically set a bit in memory
SYNOPSIS
void set_bit(unsigned int nr, volatile unsigned long * 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
Kernel Hackers Manual 3.10 June 2014 SET_BIT(9)
Related Man Pages
atomic_dec_32(3) - netbsd
atomic_dec_32_nv(3) - netbsd
atomic_dec_ulong_nv(3) - netbsd
atomic_inc_64(3) - netbsd
atomic_inc_32(3) - netbsd
Similar Topics in the Unix Linux Community
Gcc .bz2
C++ Linking Error: invalid DSO for symbol
PERL MQSeries MQCONN issue
Can't locate loadable object for module IO::Tty
NTP synchronised problem in our Centos 7.6 node